mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:10:10 +00:00
All item selects are now done by the post class
This commit is contained in:
parent
2d0443a109
commit
b892db0cf3
16 changed files with 108 additions and 688 deletions
|
@ -301,7 +301,7 @@ class Post
|
|||
|
||||
if ($this->isToplevel()) {
|
||||
if(local_user()) {
|
||||
$thread = Item::selectFirstThreadForUser(local_user(), ['ignored'], ['iid' => $item['id']]);
|
||||
$thread = PostModel::selectFirstThreadForUser(local_user(), ['ignored'], ['iid' => $item['id']]);
|
||||
if (DBA::isResult($thread)) {
|
||||
$ignore = [
|
||||
'do' => DI::l10n()->t("ignore thread"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue