1
0
Fork 0

Rename DBM method calls to DBA method calls

This commit is contained in:
Hypolite Petovan 2018-07-21 08:40:21 -04:00 committed by Hypolite Petovan
commit 0ec44f3e8a
153 changed files with 813 additions and 918 deletions

View file

@ -7,7 +7,6 @@ use Friendica\Content\Widget;
use Friendica\Core\ACL;
use Friendica\Core\Addon;
use Friendica\Database\DBA;
use Friendica\Database\DBM;
use Friendica\Model\Contact;
use Friendica\Model\Item;
@ -210,7 +209,7 @@ function acl_content(App $a)
exit;
}
if (DBM::is_result($r)) {
if (DBA::is_result($r)) {
$forums = [];
foreach ($r as $g) {
$entry = [
@ -243,7 +242,7 @@ function acl_content(App $a)
if ($conv_id) {
// In multi threaded posts the conv_id is not the parent of the whole thread
$parent_item = Item::selectFirst(['parent'], ['id' => $conv_id]);
if (DBM::is_result($parent_item)) {
if (DBA::is_result($parent_item)) {
$conv_id = $parent_item['parent'];
}