X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FFile.php;h=aa65b1d181674325d8e99b072e80207fdc8ad542;hb=701fd7a63eb4b10a6b91a91c0c05dba1bbaf8b69;hp=000d9505d4b71167e8397369f95082a52a393591;hpb=6dd17829806d6cd25ed81857928030704f85d057;p=civicrm-core.git diff --git a/CRM/Utils/File.php b/CRM/Utils/File.php index 000d9505d4..aa65b1d181 100644 --- a/CRM/Utils/File.php +++ b/CRM/Utils/File.php @@ -320,7 +320,7 @@ class CRM_Utils_File { if (FALSE === file_get_contents($fileName)) { // Our file cannot be found. // Using 'die' here breaks this on extension upgrade. - throw new CRM_Exception('Could not find the SQL file.'); + throw new CRM_Core_Exception('Could not find the SQL file.'); } self::runSqlQuery($dsn, file_get_contents($fileName), $prefix, $dieOnErrors);