]> git.mjollnir.org Git - moodle.git/commitdiff
Run cron.php as admin user so timezones etc work
authormoodler <moodler>
Sun, 25 Jan 2004 14:51:04 +0000 (14:51 +0000)
committermoodler <moodler>
Sun, 25 Jan 2004 14:51:04 +0000 (14:51 +0000)
admin/cron.php

index cd5cb1b43975dc7f392415602ba0ff81f3d3fc0a..e8bfccc64faf31ae821f7c49177325884e4ae25d 100644 (file)
@@ -17,6 +17,8 @@
 
     require_once("../config.php");
 
+    $USER = get_admin();
+
     echo "<pre>\n";
 
     $timenow  = time();