mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00: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
|
@ -882,7 +882,7 @@ class Image
|
|||
intval($uid)
|
||||
);
|
||||
|
||||
if (!DBA::is_result($r)) {
|
||||
if (!DBA::isResult($r)) {
|
||||
logger("Can't detect user data for uid ".$uid, LOGGER_DEBUG);
|
||||
return([]);
|
||||
}
|
||||
|
|
|
@ -179,7 +179,7 @@ class Post extends BaseObject
|
|||
/// @todo This shouldn't be done as query here, but better during the data creation.
|
||||
// it is now done here, since during the RC phase we shouldn't make to intense changes.
|
||||
$parent = Item::selectFirst(['origin'], ['id' => $item['parent']]);
|
||||
if (DBA::is_result($parent)) {
|
||||
if (DBA::isResult($parent)) {
|
||||
$origin = $parent['origin'];
|
||||
}
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ class Post extends BaseObject
|
|||
];
|
||||
|
||||
$thread = DBA::selectFirst('thread', ['ignored'], ['uid' => $item['uid'], 'iid' => $item['id']]);
|
||||
if (DBA::is_result($thread)) {
|
||||
if (DBA::isResult($thread)) {
|
||||
$ignore = [
|
||||
'do' => L10n::t("ignore thread"),
|
||||
'undo' => L10n::t("unignore thread"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue