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
parent 0ec44f3e8a
commit ecea7425f8
152 changed files with 765 additions and 765 deletions

View file

@ -20,7 +20,7 @@ function wall_attach_post(App $a) {
$r = q("SELECT `user`.*, `contact`.`id` FROM `user` LEFT JOIN `contact` on `user`.`uid` = `contact`.`uid` WHERE `user`.`nickname` = '%s' AND `user`.`blocked` = 0 and `contact`.`self` = 1 LIMIT 1",
dbesc($nick)
);
if (! DBA::is_result($r)) {
if (! DBA::isResult($r)) {
if ($r_json) {
echo json_encode(['error'=>L10n::t('Invalid request.')]);
killme();
@ -63,7 +63,7 @@ function wall_attach_post(App $a) {
intval($contact_id),
intval($page_owner_uid)
);
if (DBA::is_result($r)) {
if (DBA::isResult($r)) {
$can_post = true;
$visitor = $contact_id;
}
@ -149,7 +149,7 @@ function wall_attach_post(App $a) {
dbesc($hash)
);
if (! DBA::is_result($r)) {
if (! DBA::isResult($r)) {
$msg = L10n::t('File upload failed.');
if ($r_json) {
echo json_encode(['error'=>$msg]);