mirror of
https://github.com/friendica/friendica
synced 2025-05-08 19:44:10 +02:00
Update functions and calls
Change function names, calls and use dba functions.
This commit is contained in:
parent
55ee9a1c72
commit
dc175b8e12
5 changed files with 24 additions and 24 deletions
|
@ -7,10 +7,10 @@
|
|||
namespace Friendica\Model;
|
||||
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Model\Term;
|
||||
use dba;
|
||||
|
||||
require_once 'include/tags.php';
|
||||
require_once 'include/files.php';
|
||||
require_once 'include/threads.php';
|
||||
|
||||
class Item
|
||||
|
@ -52,7 +52,7 @@ class Item
|
|||
}
|
||||
|
||||
create_tags_from_item($item['id']);
|
||||
create_files_from_item($item['id']);
|
||||
Term::createFromItem($item['id']);
|
||||
update_thread($item['id']);
|
||||
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", 'edit_post', $item['id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue