mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
accesslib:context_moved() remove debugging msgs
This commit is contained in:
parent
88903eeab9
commit
0d8a77c978
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user