mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30: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
|
@ -6,7 +6,6 @@ namespace Friendica\Model;
|
|||
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\Database\DBM;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/conversation.php';
|
||||
|
@ -59,7 +58,7 @@ class Term
|
|||
|
||||
$fields = ['guid', 'uid', 'id', 'edited', 'deleted', 'created', 'received', 'title', 'body', 'parent'];
|
||||
$message = Item::selectFirst($fields, ['id' => $itemid]);
|
||||
if (!DBM::is_result($message)) {
|
||||
if (!DBA::is_result($message)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -167,7 +166,7 @@ class Term
|
|||
public static function insertFromFileFieldByItemId($itemid, $files)
|
||||
{
|
||||
$message = Item::selectFirst(['uid', 'deleted'], ['id' => $itemid]);
|
||||
if (!DBM::is_result($message)) {
|
||||
if (!DBA::is_result($message)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue