]> git.mjollnir.org Git - moodle.git/commitdiff
mnet: clean_param() fixed a leftover debugging statement
authormartinlanghoff <martinlanghoff>
Thu, 18 Jan 2007 02:22:35 +0000 (02:22 +0000)
committermartinlanghoff <martinlanghoff>
Thu, 18 Jan 2007 02:22:35 +0000 (02:22 +0000)
lib/moodlelib.php

index 2112911223c690305a59903e5047b6c759a1527c..c285c7a0788fade7ae356cd18326795c2a6a573d 100644 (file)
@@ -518,7 +518,6 @@ function clean_param($param, $type) {
                 // forward slash: /
                 // plus sign:     +
                 // equal sign:    =
-                error_log("Called with " . $param);
                 if (0 >= preg_match('/^([\s\w\/\+=]+)$/', trim($param))) {
                     return '';
                 }
@@ -538,6 +537,7 @@ function clean_param($param, $type) {
                         return '';
                     }
                 }
+error_log(2);
                 return implode("\n",$lines);
             } else {
                 return '';