mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
New post class in the rest of the classes
This commit is contained in:
parent
3ab4e20fe6
commit
2fa692bcce
15 changed files with 33 additions and 20 deletions
|
@ -17,6 +17,7 @@ use Friendica\DI;
|
|||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Group;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Model\Post;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Module\Contact as ModuleContact;
|
||||
|
@ -215,7 +216,7 @@ class Network extends BaseModule
|
|||
return;
|
||||
}
|
||||
|
||||
$unseen = Item::exists($condition);
|
||||
$unseen = Post::exists($condition);
|
||||
|
||||
if ($unseen) {
|
||||
/// @todo handle huge "unseen" updates in the background to avoid timeout errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue