mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02: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
|
@ -2,7 +2,7 @@
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Database\DBA;
|
||||
|
||||
function msearch_post(App $a) {
|
||||
|
||||
|
@ -18,7 +18,7 @@ function msearch_post(App $a) {
|
|||
dbesc($search)
|
||||
);
|
||||
|
||||
if (DBM::is_result($r))
|
||||
if (DBA::is_result($r))
|
||||
$total = $r[0]['total'];
|
||||
|
||||
$results = [];
|
||||
|
@ -29,7 +29,7 @@ function msearch_post(App $a) {
|
|||
intval($perpage)
|
||||
);
|
||||
|
||||
if (DBM::is_result($r)) {
|
||||
if (DBA::is_result($r)) {
|
||||
foreach($r as $rr)
|
||||
$results[] = [
|
||||
'name' => $rr['name'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue