From 192d6a6ea9fa970444abd3fcdd4e4ce53ecab4e4 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 26 May 2005 14:44:51 +0000 Subject: [PATCH] A little note for admins looking in the source who might be really annoyed. :-) --- admin/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/index.php b/admin/index.php index 4b7fc63d11e..c78d9df78f7 100644 --- a/admin/index.php +++ b/admin/index.php @@ -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;