Refactor
This commit is contained in:
parent
6b024302d3
commit
c4fc9517d2
1 changed files with 2 additions and 3 deletions
|
@ -10,11 +10,10 @@ function redirect(string $target)
|
|||
{
|
||||
global $user;
|
||||
|
||||
$isDevEnvironment = defined('ENV_IS_DEV') && true === ENV_IS_DEV;
|
||||
|
||||
/**
|
||||
* Redirect user based on channel setting
|
||||
*/
|
||||
$isDevEnvironment = defined('ENV_IS_DEV') && true === ENV_IS_DEV;
|
||||
$isHostInChannel = false;
|
||||
|
||||
/** Determine if host is a defined channel */
|
||||
|
|
Loading…
Reference in a new issue