A little note for admins looking in the source who might be really annoyed. :-)

This commit is contained in:
moodler
2005-05-26 14:44:51 +00:00
parent 705e3a7f76
commit 192d6a6ea9
+2
View File
@@ -324,6 +324,8 @@
}
/// Print slightly annoying registration button every six months ;-)
/// You can set the "registered" variable to something far in the future
/// if you really want to prevent this. eg 9999999999
if (!isset($CFG->registered) || $CFG->registered < (time() - 3600*24*30*6)) {
$options = array();
$options['sesskey'] = $USER->sesskey;