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);