Skip to content

Commit

Permalink
Implements linter hints
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoli79 committed Dec 5, 2024
1 parent c2225ca commit aac9ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/common/AttachUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@

if ($user->isApiUser()) {
$user->setUserPriority((int) Util::getSetting('api_priority', 7));
} else if ($user->isPaid()) {
} elseif ($user->isPaid()) {
$user->setUserPriority((int) Util::getSetting('paid_priority', 6));
} else if ($user->isFree()) {
} elseif ($user->isFree()) {
$user->setUserPriority((int) Util::getSetting('user_priority', 8));
} else {
$user->setUserPriority((int) Util::getSetting('anon_priority', 9));
Expand Down

0 comments on commit aac9ae1

Please sign in to comment.