diff options
Diffstat (limited to 'utility/updater.php')
-rw-r--r-- | utility/updater.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/utility/updater.php b/utility/updater.php index 0321f994d..cfe9cc16a 100644 --- a/utility/updater.php +++ b/utility/updater.php @@ -47,10 +47,9 @@ class Updater { } - public function cleanUp() { + public function beforeUpdate() { $this->folderBusinessLayer->purgeDeleted(); $this->feedBusinessLayer->purgeDeleted(); - $this->itemBusinessLayer->autoPurgeOld(); } @@ -59,4 +58,9 @@ class Updater { } + public function afterUpdate() { + $this->itemBusinessLayer->autoPurgeOld(); + } + + }
\ No newline at end of file |