aboutsummaryrefslogtreecommitdiffstats
path: root/apps/updatenotification/lib/ResetTokenBackgroundJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/lib/ResetTokenBackgroundJob.php')
-rw-r--r--apps/updatenotification/lib/ResetTokenBackgroundJob.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/updatenotification/lib/ResetTokenBackgroundJob.php b/apps/updatenotification/lib/ResetTokenBackgroundJob.php
index 9bd414d1e5c..d64a26c62e8 100644
--- a/apps/updatenotification/lib/ResetTokenBackgroundJob.php
+++ b/apps/updatenotification/lib/ResetTokenBackgroundJob.php
@@ -59,9 +59,8 @@ class ResetTokenBackgroundJob extends TimedJob {
*/
protected function run($argument) {
// Delete old tokens after 2 days
- if($this->timeFactory->getTime() - $this->config->getAppValue('core', 'updater.secret.created', $this->timeFactory->getTime()) >= 172800) {
+ if ($this->timeFactory->getTime() - $this->config->getAppValue('core', 'updater.secret.created', $this->timeFactory->getTime()) >= 172800) {
$this->config->deleteSystemValue('updater.secret');
}
}
-
}