MDL-14128, remove all uses of error(get_string())
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
$module = optional_param('module', '', PARAM_SAFEDIR);
|
||||
|
||||
if (!confirm_sesskey()) {
|
||||
error(get_string('confirmsesskeybad', 'error'));
|
||||
print_error('confirmsesskeybad', 'error');
|
||||
}
|
||||
|
||||
if ($module != '') {
|
||||
|
||||
Reference in New Issue
Block a user