mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Rename DBM method calls to DBA method calls
This commit is contained in:
parent
8ddb94ef06
commit
0ec44f3e8a
153 changed files with 813 additions and 918 deletions
|
@ -7,7 +7,6 @@ use Friendica\App;
|
|||
use Friendica\Content\Nav;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Item;
|
||||
use Friendica\Model\Profile;
|
||||
|
||||
|
@ -70,7 +69,7 @@ function notes_content(App $a, $update = false)
|
|||
|
||||
$count = 0;
|
||||
|
||||
if (DBM::is_result($r)) {
|
||||
if (DBA::is_result($r)) {
|
||||
$count = count($r);
|
||||
$parents_arr = [];
|
||||
|
||||
|
@ -82,7 +81,7 @@ function notes_content(App $a, $update = false)
|
|||
$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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue