Only use module var
This commit is contained in:
parent
907222be18
commit
2edd863849
@ -73,11 +73,7 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
|
||||
);
|
||||
|
||||
$UserLogin = false;
|
||||
if ( $controller == 'user' && ( $action == 'login' || $action == 'logout' ) ) {
|
||||
$UserLogin = true;
|
||||
}
|
||||
|
||||
if ( $controller == 'auth' ) {
|
||||
if ( $module == 'auth' ) {
|
||||
$UserLogin = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user