]> git.mjollnir.org Git - moodle.git/commitdiff
accesslib:context_moved() remove debugging msgs
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:14:48 +0000 (07:14 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:14:48 +0000 (07:14 +0000)
lib/accesslib.php

index 4b61c4378156f799c45d733cbea06529a58647fb..aae7e8fd9a27fa61c3421fb52af19ddb46623e54 100755 (executable)
@@ -4766,7 +4766,6 @@ function context_moved($context, $newparent) {
             SET path='$newpath'
                 $setdepth
             WHERE path='$frompath'";
-    error_log($sql);
     execute_sql($sql,false);
 
     $len = strlen($frompath);
@@ -4774,7 +4773,6 @@ function context_moved($context, $newparent) {
             SET path = '$newpath' || SUBSTR(path, {$len} +1)
                 $setdepth
             WHERE path LIKE '{$frompath}/%'";
-    error_log($sql);
     execute_sql($sql,false);
 
     mark_context_dirty($frompath);