1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-05-06 16:34:06 +02:00

fix style

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
This commit is contained in:
Benjamin Brahmer 2023-03-02 16:44:46 +01:00
parent 8cdcde2e56
commit 7cdf3c83e8

View File

@ -39,13 +39,12 @@ class RemoveUnusedJob implements IRepairStep
*/
public function run(IOutput $output)
{
if($this->joblist->has("OCA\News\Cron\Updater", null)){
if ($this->joblist->has("OCA\News\Cron\Updater", null)) {
$output->info("Job exists, attempting to remove");
$this->joblist->remove("OCA\News\Cron\Updater");
$output->info("Job removed");
} else {
$output->info("Job does not exist, all good");
}
}
}