]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/RemoveUser.php
Convert custom profile field URL values to rel="me" links
[friendica.git] / src / Worker / RemoveUser.php
index 6a2d54422eb7fd99bbdfe1ff174522e0a56159c4..72ead5264292c7c543df91aee66ef69af83e9df8 100644 (file)
@@ -21,6 +21,7 @@
 
 namespace Friendica\Worker;
 
+use Friendica\Core\Worker;
 use Friendica\Database\DBA;
 use Friendica\Model\Item;
 use Friendica\Model\Post;
@@ -48,7 +49,7 @@ class RemoveUser {
                do {
                        $items = Post::select(['id'], $condition, ['limit' => 100]);
                        while ($item = Post::fetch($items)) {
-                               Item::markForDeletionById($item['id'], PRIORITY_NEGLIGIBLE);
+                               Item::markForDeletionById($item['id'], Worker::PRIORITY_NEGLIGIBLE);
                        }
                        DBA::close($items);
                } while (Post::exists($condition));