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

@ -10,12 +10,12 @@ class RemoveUnusedJob implements IRepairStep
{ {
/** /**
* @var LoggerInterface * @var LoggerInterface
*/ */
protected $logger; protected $logger;
/** /**
* @var IJobList * @var IJobList
*/ */
protected $joblist; protected $joblist;
@ -39,13 +39,12 @@ class RemoveUnusedJob implements IRepairStep
*/ */
public function run(IOutput $output) 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"); $output->info("Job exists, attempting to remove");
$this->joblist->remove("OCA\News\Cron\Updater"); $this->joblist->remove("OCA\News\Cron\Updater");
$output->info("Job removed"); $output->info("Job removed");
} else { } else {
$output->info("Job does not exist, all good"); $output->info("Job does not exist, all good");
} }
} }
} }