]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19756 Removing debugging call
authornicolasconnault <nicolasconnault>
Mon, 27 Jul 2009 10:41:38 +0000 (10:41 +0000)
committernicolasconnault <nicolasconnault>
Mon, 27 Jul 2009 10:41:38 +0000 (10:41 +0000)
lib/weblib.php

index 50b910ac173526d1ae1850b591763cef0f3782bc..40a05b3e076bdc96625b4d3b95878aab3a57c7fe 100644 (file)
@@ -503,7 +503,7 @@ function prepare_url($url, $stripformparams=false) {
     // Handle relative URLs
     if (substr($output, 0, 4) != 'http' && substr($output, 0, 1) != '/') {
         if (preg_match('/(.*)\/([A-Za-z0-9-_]*\.php)$/', $PAGE->url->out(true), $matches)) {
-            debugging('Relative URLs are deprecated, please use an absolute URL in your code', DEBUG_DEVELOPER);
+            
             return $matches[1] . "/$output";
         } else {
             throw new coding_exception('Your page uses bizarre relative URLs which Moodle cannot handle. Please use absolute URLs.');