use Friendica\Content\Nav;
use Friendica\Core\L10n;
use Friendica\Database\DBA;
-use Friendica\Database\DBM;
use Friendica\Model\Item;
use Friendica\Model\Profile;
$count = 0;
- if (DBM::is_result($r)) {
+ if (DBA::is_result($r)) {
$count = count($r);
$parents_arr = [];
$condition = ['uid' => local_user(), 'parent' => $parents_arr];
$result = Item::selectForUser(local_user(), [], $condition);
- if (DBM::is_result($result)) {
+ if (DBA::is_result($result)) {
$items = conv_sort(Item::inArray($result), 'commented');
$o .= conversation($a, $items, 'notes', $update);
}