]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/SpoolPost.php
Reenable Twitter/Favorites tests
[friendica.git] / src / Worker / SpoolPost.php
index e32cee1f2f513dbf2996172b3c7e73a4537bc716..9501dc64a40a8cb89c8a0ecc93108677a954bf9d 100644 (file)
@@ -22,6 +22,7 @@
 namespace Friendica\Worker;
 
 use Friendica\Core\Logger;
+use Friendica\Core\System;
 use Friendica\Model\Item;
 
 /**
@@ -29,7 +30,7 @@ use Friendica\Model\Item;
  */
 class SpoolPost {
        public static function execute() {
-               $path = get_spoolpath();
+               $path = System::getSpoolPath();
 
                if (($path != '') && is_writable($path)){
                        if ($dh = opendir($path)) {