mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
Transfer all item shadow functions to the item class
This commit is contained in:
parent
0c4d7cd1a1
commit
c4d3ab6878
5 changed files with 144 additions and 214 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
require_once("include/threads.php");
|
||||
use Friendica\Model\Item;
|
||||
|
||||
class CreateShadowEntry {
|
||||
public static function execute($message_id = 0) {
|
||||
|
@ -16,6 +16,6 @@ class CreateShadowEntry {
|
|||
return;
|
||||
}
|
||||
|
||||
add_shadow_entry($message_id);
|
||||
Item::addShadowPost($message_id);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue