mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:50:11 +00:00
Most functions now moved from include/items.php
This commit is contained in:
parent
b158914c41
commit
7b27dda784
22 changed files with 1488 additions and 1523 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Core\Config;
|
||||
|
||||
require_once("include/items.php");
|
||||
|
@ -46,7 +47,7 @@ class SpoolPost {
|
|||
continue;
|
||||
}
|
||||
|
||||
$result = item_store($arr);
|
||||
$result = Item::insert($arr);
|
||||
|
||||
logger("Spool file ".$file." stored: ".$result, LOGGER_DEBUG);
|
||||
unlink($fullfile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue