forked from GNUsocial/gnu-social
[CORE] Fix use of Exception
class without import
This commit is contained in:
parent
cbbef90752
commit
f65e2b90f2
@ -152,7 +152,7 @@ class ModuleManager
|
||||
{
|
||||
if ($_ENV['APP_ENV'] === 'prod' && !file_exists(CACHE_FILE)) {
|
||||
// @codeCoverageIgnoreStart
|
||||
throw new Exception('The application needs to be compiled before using in production');
|
||||
throw new \Exception('The application needs to be compiled before using in production');
|
||||
// @codeCoverageIgnoreEnd
|
||||
} else {
|
||||
$rdi = new AppendIterator();
|
||||
|
Loading…
Reference in New Issue
Block a user