MDL-14129, remove all the other error() call

This commit is contained in:
dongsheng
2008-04-04 02:54:20 +00:00
parent f44ee03b4f
commit 5a2a53316f
422 changed files with 2327 additions and 2287 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ class csv_import_reader {
global $USER;
if (!$filename = make_upload_directory('temp/csvimport/'.$type.'/'.$USER->id, false)) {
error('Can not create temporary upload directory - verify moodledata permissions!');
print_error('Can not create temporary upload directory - verify moodledata permissions!');
}
// use current (non-conflicting) time stamp