fix print_error() call, see tracker
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user