X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=object%2FItem.php;h=80bbf255dd8eae6a7b43efc95775ea13e359941d;hb=5f25ef55d2482e3a1de54907efa63e0be1d0e93f;hp=fa8c893c7fc78959df99f7b7065441c3289f80a7;hpb=f23469121662325745660b3e39ca31f02365a8b2;p=friendica.git diff --git a/object/Item.php b/object/Item.php index fa8c893c7f..80bbf255dd 100644 --- a/object/Item.php +++ b/object/Item.php @@ -4,6 +4,7 @@ if(class_exists('Item')) use Friendica\Core\Config; use Friendica\Core\PConfig; +use Friendica\Database\DBM; use Friendica\Protocol\Diaspora; require_once('object/BaseObject.php'); @@ -255,7 +256,7 @@ class Item extends BaseObject { 'starred' => t('starred'), ); $r = dba::select('thread', array('ignored'), array('uid' => $item['uid'], 'iid' => $item['id']), array('limit' => 1)); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { $ignore = array( 'do' => t("ignore thread"), 'undo' => t("unignore thread"),