The boot.php had been cleared of most functions

This commit is contained in:
Michael
2021-11-04 20:29:59 +00:00
parent 4989d1fa99
commit 63da4a75e9
37 changed files with 279 additions and 401 deletions

View 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)) {