MDL-14128, remove all uses of error(get_string())
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@
|
||||
if ($config = data_submitted()) {
|
||||
|
||||
if (!confirm_sesskey()) {
|
||||
error(get_string('confirmsesskeybad', 'error'));
|
||||
print_error('confirmsesskeybad', 'error');
|
||||
}
|
||||
if(!$block->has_config()) {
|
||||
error('This block does not support global configuration');
|
||||
|
||||
Reference in New Issue
Block a user