]> git.mjollnir.org Git - moodle.git/commitdiff
Removed some logging
authormartin <martin>
Fri, 31 May 2002 13:20:21 +0000 (13:20 +0000)
committermartin <martin>
Fri, 31 May 2002 13:20:21 +0000 (13:20 +0000)
admin/cron.php
admin/site.php

index beaf2381484694857c2d9a3a97529d0ddd49efc3..d0b86fa3d9028e31f8c7dd55cf477734632ffbef 100644 (file)
@@ -23,7 +23,6 @@
     }
 
     if ($p <> $CFG->cronpassword) {
-        add_to_log("Error: bad cron password!");
         echo "Error: bad password.\n";
         die;
     }
index 0ef80daf43dab874362dc2e60029a065efe666c7..d9e76d33d034e094673d421e33abb4aadff67242 100644 (file)
@@ -18,7 +18,6 @@
 
             if ($form->id) {
                 if (update_record("course", $form)) {
-                    add_to_log("Updated site settings", $course->id);
                            redirect("$CFG->wwwroot/admin/", "Changes saved");
                 } else {
                     error("Serious Error! Could not update the course record! (id = $form->id)");
@@ -27,7 +26,6 @@
                 if ($newid = insert_record("course", $form)) {
                     $cat->name = "General";
                     if (insert_record("course_categories", $cat)) {
-                        add_to_log("Inserted a new course # $newid", $newid);
                                redirect("$CFG->wwwroot/admin/", "Changes saved", "1");
                     } else {
                         error("Serious Error! Could not set up the default categories!");