]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/MoveStorage.php
Merge remote-tracking branch 'upstream/develop' into move-delivery
[friendica.git] / src / Worker / MoveStorage.php
index 1ffb3c275dd493706cb8af82a2a68e141e0464fa..30f42e40cd7ba8884494b3b38fc36b30fe6a47d1 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -34,10 +34,10 @@ class MoveStorage
        public static function execute()
        {
                $current = DI::storage();
-               $moved = DI::storageManager()->move($current);
+               $moved   = DI::storageManager()->move($current);
 
                if ($moved) {
-                       Worker::add(PRIORITY_LOW, 'MoveStorage');
+                       Worker::add(Worker::PRIORITY_LOW, 'MoveStorage');
                }
        }
 }