mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
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
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue