mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
fix print_error() call, see tracker
This commit is contained in:
parent
5656aea193
commit
e31a44ee20
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user