Rename DBA::is_result to DBA::isResult
This commit is contained in:
parent
0ec44f3e8a
commit
ecea7425f8
152 changed files with 765 additions and 765 deletions
|
@ -61,7 +61,7 @@ function poke_init(App $a) {
|
|||
intval($uid)
|
||||
);
|
||||
|
||||
if (!DBA::is_result($r)) {
|
||||
if (!DBA::isResult($r)) {
|
||||
logger('poke: no contact ' . $contact_id);
|
||||
return;
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ function poke_init(App $a) {
|
|||
$condition = ['id' => $parent, 'parent' => $parent, 'uid' => $uid];
|
||||
$item = Item::selectFirst($fields, $condition);
|
||||
|
||||
if (DBA::is_result($item)) {
|
||||
if (DBA::isResult($item)) {
|
||||
$parent_uri = $item['uri'];
|
||||
$private = $item['private'];
|
||||
$allow_cid = $item['allow_cid'];
|
||||
|
@ -154,7 +154,7 @@ function poke_content(App $a) {
|
|||
intval($_GET['c']),
|
||||
intval(local_user())
|
||||
);
|
||||
if (DBA::is_result($r)) {
|
||||
if (DBA::isResult($r)) {
|
||||
$name = $item['name'];
|
||||
$id = $item['id'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue