Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Dec 6, 2019
1 parent 35ef866 commit 11e4b60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libraries/BlizzardChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

namespace BNETDocs\Libraries;

use \CarlBennett\MVC\Libraries\Common;
use \CarlBennett\MVC\Libraries\IP;

use \BNETDocs\Libraries\Authentication;
use \BNETDocs\Libraries\EventTypes;
use \BNETDocs\Libraries\Logger;

use \CarlBennett\MVC\Libraries\Common;
use \CarlBennett\MVC\Libraries\IP;

class BlizzardChecker {

/**
Expand All @@ -27,7 +27,7 @@ public static function checkIfBlizzard() {

public static function logIfBlizzard() {
$user_id = (isset(Authentication::$user) ? Authentication::$user : null);
if (BlizzardChecker::checkIfBlizzard()) {
if (self::checkIfBlizzard()) {
Logger::logEvent(
EventTypes::BLIZZARD_VISIT,
$user_id,
Expand Down

0 comments on commit 11e4b60

Please sign in to comment.