]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/MoveStorage.php
New parameter to create a share block for display reasons
[friendica.git] / src / Worker / MoveStorage.php
index 1ffb3c275dd493706cb8af82a2a68e141e0464fa..b66cdc017c4cdde1da13dd2a2255bcfb31027680 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, 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');
                }
        }
 }