]> git.mjollnir.org Git - moodle.git/commitdiff
fix print_error() call, see tracker
authordongsheng <dongsheng>
Wed, 23 Apr 2008 07:29:51 +0000 (07:29 +0000)
committerdongsheng <dongsheng>
Wed, 23 Apr 2008 07:29:51 +0000 (07:29 +0000)
blocks/rss_client/block_rss_client_action.php

index 722b015e00c69a72d75b8f4b3186cb303c834e3c..5339b7cb676e0df175cbd61884ddea3ae3697f32 100644 (file)
@@ -224,10 +224,10 @@ if ($act == 'updfeed') {
 } else if ($act == 'delfeed') {
 
     if (!$managefeeds) {
-        error(get_string('noguestpost', 'forum').
-                ' You are not allowed to make modifications to this RSS feed at this time.',
-                $referrer);
-        //print_error('noguestpost', 'forum', $referrer, 'You are not allowed to make modifications to this RSS feed at this time.');
+        //error(get_string('noguestpost', 'forum').
+        //        ' You are not allowed to make modifications to this RSS feed at this time.',
+        //        $referrer);
+        print_error('noguestpost', 'forum', $referrer, 'You are not allowed to make modifications to this RSS feed at this time.');
     }
 
     $file = $CFG->dataroot .'/cache/rsscache/'. $rssid .'.xml';