Skip to content
Browse files

Removed some logging

  • Loading branch information...
1 parent a634339 commit 6c19f34bf80a6d17eb5370eb994c3a94894f4a82 martin committed
Showing with 0 additions and 3 deletions.
  1. +0 −1 admin/cron.php
  2. +0 −2 admin/site.php
View
1 admin/cron.php
@@ -23,7 +23,6 @@
}
if ($p <> $CFG->cronpassword) {
- add_to_log("Error: bad cron password!");
echo "Error: bad password.\n";
die;
}
View
2 admin/site.php
@@ -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!");

0 comments on commit 6c19f34

Please sign in to comment.
Something went wrong with that request. Please try again.