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

@ -22,7 +22,7 @@ function attach_init(App $a)
// Check for existence, which will also provide us the owner uid
$r = DBA::selectFirst('attach', [], ['id' => $item_id]);
if (!DBA::is_result($r)) {
if (!DBA::isResult($r)) {
notice(L10n::t('Item was not found.'). EOL);
return;
}
@ -35,7 +35,7 @@ function attach_init(App $a)
dbesc($item_id)
);
if (!DBA::is_result($r)) {
if (!DBA::isResult($r)) {
notice(L10n::t('Permission denied.') . EOL);
return;
}