summaryrefslogtreecommitdiff
path: root/framework/Web/Services/TPageService.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r--framework/Web/Services/TPageService.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php
index f32e8ee7..0fb39dfb 100644
--- a/framework/Web/Services/TPageService.php
+++ b/framework/Web/Services/TPageService.php
@@ -165,8 +165,7 @@ class TPageService extends TComponent implements IService
$module->init($this->_application,$moduleConfig[2]);
}
- if(($auth=$application->getAuthManager())!==null)
- $auth->getAuthorizationRules()->mergeWith($pageConfig->getRules());
+ $application->getAuthorizationRules()->mergeWith($pageConfig->getRules());
$this->_initialized=true;
}