Rename DBA::is_result to DBA::isResult

This commit is contained in:
Hypolite Petovan 2018-07-21 08:46:04 -04:00 committed by Hypolite Petovan
commit ecea7425f8
152 changed files with 765 additions and 765 deletions

View file

@ -25,7 +25,7 @@ function subthread_content(App $a) {
$condition = ["`parent` = ? OR `parent-uri` = ? AND `parent` = `id`", $item_id, $item_id];
$item = Item::selectFirst([], $condition);
if (empty($item_id) || !DBA::is_result($item)) {
if (empty($item_id) || !DBA::isResult($item)) {
logger('subthread: no item ' . $item_id);
return;
}
@ -44,7 +44,7 @@ function subthread_content(App $a) {
intval($item['contact-id']),
intval($item['uid'])
);
if (!DBA::is_result($r)) {
if (!DBA::isResult($r)) {
return;
}
if (!$r[0]['self']) {
@ -60,7 +60,7 @@ function subthread_content(App $a) {
intval($owner_uid)
);
if (DBA::is_result($r)) {
if (DBA::isResult($r)) {
$owner = $r[0];
}
@ -84,7 +84,7 @@ function subthread_content(App $a) {
intval($owner_uid)
);
if (DBA::is_result($r)) {
if (DBA::isResult($r)) {
$contact = $r[0];
}
}