namespace Friendica\Worker;
use Friendica\Core\Logger;
+use Friendica\Core\System;
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)) {