mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 13:33:14 +00:00
fix scheduler return value if status is not recognized
This commit is contained in:
@@ -44,7 +44,6 @@ class module_console_schedulerState extends Command
|
||||
|
||||
require_once __DIR__ . '/../../../../lib/bootstrap.php';
|
||||
|
||||
try {
|
||||
$appbox = appbox::get_instance(\bootstrap::getCore());
|
||||
$task_manager = new task_manager($appbox);
|
||||
|
||||
@@ -78,9 +77,7 @@ class module_console_schedulerState extends Command
|
||||
return 13;
|
||||
break;
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user