Code standards

pull/1212/head
fabrixxm 2021-11-24 14:30:30 +01:00
parent c307cc147b
commit f42fd689d9
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,6 @@ use Friendica\App;
use Friendica\Core\Hook;
use Friendica\Core\Logger;
use Friendica\Core\Renderer;
use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Contact;
@ -149,9 +148,9 @@ function birdavatar_content(App $a)
}
if (is_numeric(DI::args()->getArgv()[1])) {
$uid = intval(DI::args()->getArgv()[1]);
$uid = intval(DI::args()->getArgv()[1]);
$condition = ['uid' => $uid,
'account_expired' => false, 'account_removed' => false];
'account_expired' => false, 'account_removed' => false];
$user = DBA::selectFirst('user', ['email'], $condition);
if ($user === false) {