]> 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 34ecb5c147f2b384c620d8461f5d925b7bc34567..b66cdc017c4cdde1da13dd2a2255bcfb31027680 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -37,7 +37,7 @@ class MoveStorage
                $moved   = DI::storageManager()->move($current);
 
                if ($moved) {
-                       Worker::add(PRIORITY_LOW, 'MoveStorage');
+                       Worker::add(Worker::PRIORITY_LOW, 'MoveStorage');
                }
        }
 }