]> git.mxchange.org Git - friendica-addons.git/commitdiff
Code standards
authorfabrixxm <fabrix.xm@gmail.com>
Wed, 24 Nov 2021 13:30:30 +0000 (14:30 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Wed, 24 Nov 2021 13:30:30 +0000 (14:30 +0100)
birdavatar/birdavatar.php

index 72f4728b44e4afb8d254e4a2ddd9d4459d06d68f..af573bbd33ef9a9054104299ec0ff4fc820b8b6e 100644 (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) {