MDL-33624 lang - remove incosistent use of placeholder

This commit is contained in:
Dan Poltawski 2012-06-27 13:29:51 +08:00
parent 2cbdaa77ea
commit 19a8646822
8 changed files with 8 additions and 9 deletions

View file

@ -722,7 +722,7 @@ class core_course_external extends external_api {
// Context validation.
if (! ($course = $DB->get_record('course', array('id'=>$params['courseid'])))) {
throw new moodle_exception('invalidcourseid', 'error', '', $params['courseid']);
throw new moodle_exception('invalidcourseid', 'error');
}
// Category where duplicated course is going to be created.