Refactored the condition for strict inequality
This commit is contained in:
parent
7064f884aa
commit
a4299a69ef
|
@ -558,7 +558,7 @@ App::shutdown()
|
|||
App::init()
|
||||
->groups(['usage'])
|
||||
->action(function () {
|
||||
if (App::getEnv('_APP_USAGE_STATS', 'enabled') != 'enabled') {
|
||||
if (App::getEnv('_APP_USAGE_STATS', 'enabled') !== 'enabled') {
|
||||
throw new Exception(Exception::GENERAL_USAGE_DISABLED);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue