mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 21:04:26 +02: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