Commit ea26f503 authored by Nigel McNie's avatar Nigel McNie
Browse files

Renamed a language string to prevent confusion with another string named the...

Renamed a language string to prevent confusion with another string named the same, but that has a different translation
parent 3b9b0b57
......@@ -67,6 +67,6 @@ $string['accessdeniedexception'] = 'You do not have access to view this page';
$string['viewnotfoundexceptiontitle'] = 'View not found';
$string['viewnotfoundexceptionmessage'] = 'You tried to access a view that didn\'t exist!';
$string['artefactnotfound'] = "Artefact with id %s not found (maybe it has been deleted already?)";
$string['artefactnotfoundmaybedeleted'] = "Artefact with id %s not found (maybe it has been deleted already?)";
$string['notartefactowner'] = 'You do not own this artefact';
?>
......@@ -267,7 +267,7 @@ function handle_activity($activitytype, $data, $cron=false) {
if (!empty($cron)) { // probably deleted already
return;
}
throw new InvalidArgumentException(get_string('artefactnotfound', 'error', $data->artefact));
throw new InvalidArgumentException(get_string('artefactnotfoundmaybedeleted', 'error', $data->artefact));
}
$data->message = get_string('onartefact', 'activity')
. ' ' . $ainfo->title . ' ' . get_string('ownedby', 'activity');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment