} 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';