Skip to content

Commit 11e4b60

Browse files
committed
Minor refactor
1 parent 35ef866 commit 11e4b60

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libraries/BlizzardChecker.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
namespace BNETDocs\Libraries;
44

5-
use \CarlBennett\MVC\Libraries\Common;
6-
use \CarlBennett\MVC\Libraries\IP;
7-
85
use \BNETDocs\Libraries\Authentication;
96
use \BNETDocs\Libraries\EventTypes;
107
use \BNETDocs\Libraries\Logger;
118

9+
use \CarlBennett\MVC\Libraries\Common;
10+
use \CarlBennett\MVC\Libraries\IP;
11+
1212
class BlizzardChecker {
1313

1414
/**
@@ -27,7 +27,7 @@ public static function checkIfBlizzard() {
2727

2828
public static function logIfBlizzard() {
2929
$user_id = (isset(Authentication::$user) ? Authentication::$user : null);
30-
if (BlizzardChecker::checkIfBlizzard()) {
30+
if (self::checkIfBlizzard()) {
3131
Logger::logEvent(
3232
EventTypes::BLIZZARD_VISIT,
3333
$user_id,

0 commit comments

Comments
 (0)