From: fabrixxm Date: Wed, 24 Nov 2021 13:30:30 +0000 (+0100) Subject: Code standards X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f42fd689d97ac92021cae0be799af0971ac9ca42;p=friendica-addons.git Code standards --- diff --git a/birdavatar/birdavatar.php b/birdavatar/birdavatar.php index 72f4728b..af573bbd 100644 --- a/birdavatar/birdavatar.php +++ b/birdavatar/birdavatar.php @@ -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) {