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:
parent
8cdcde2e56
commit
7cdf3c83e8
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user