1
1
Fork 0

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

@ -37,7 +37,7 @@ function cal_init(App $a)
if ($a->argc > 1) {
$nick = $a->argv[1];
$user = DBA::selectFirst('user', [], ['nickname' => $nick, 'blocked' => false]);
if (!DBA::is_result($user)) {
if (!DBA::isResult($user)) {
return;
}
@ -131,7 +131,7 @@ function cal_content(App $a)
intval($contact_id),
intval($a->profile['profile_uid'])
);
if (DBA::is_result($r)) {
if (DBA::isResult($r)) {
$remote_contact = true;
}
}
@ -229,7 +229,7 @@ function cal_content(App $a)
$links = [];
if (DBA::is_result($r)) {
if (DBA::isResult($r)) {
$r = Event::sortByDate($r);
foreach ($r as $rr) {
$j = $rr['adjust'] ? DateTimeFormat::local($rr['start'], 'j') : DateTimeFormat::utc($rr['start'], 'j');