Commit b9c66900 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Change Exception to SystemException

parent aa4a2ef8
......@@ -634,7 +634,7 @@ function xmldb_core_upgrade($oldversion=0) {
mkdir($artefactdata . 'file');
if (!rename($artefactdata . 'internal/profileicons', $artefactdata . 'file/profileicons')) {
throw new Exception("Failed moving $artefactdata/internal/profileicons to $artefactdata/file/profileicons");
throw new SystemException("Failed moving $artefactdata/internal/profileicons to $artefactdata/file/profileicons");
// Insert artefact_file_files records for all profileicons
Supports Markdown
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