From: dongsheng Date: Wed, 23 Apr 2008 07:29:51 +0000 (+0000) Subject: fix print_error() call, see tracker X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e31a44ee20622a6552f3bc53c0876b1bfe852eef;p=moodle.git fix print_error() call, see tracker --- diff --git a/blocks/rss_client/block_rss_client_action.php b/blocks/rss_client/block_rss_client_action.php index 722b015e00..5339b7cb67 100644 --- a/blocks/rss_client/block_rss_client_action.php +++ b/blocks/rss_client/block_rss_client_action.php @@ -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';