diff options
Diffstat (limited to 'app/Template/user/layout.php')
-rw-r--r-- | app/Template/user/layout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/user/layout.php b/app/Template/user/layout.php index 94610000..a5a78a3f 100644 --- a/app/Template/user/layout.php +++ b/app/Template/user/layout.php @@ -1,6 +1,6 @@ <section id="main"> <div class="page-header"> - <?php if ($this->acl->isAdminUser()): ?> + <?php if ($this->userSession->isAdmin()): ?> <ul> <li><i class="fa fa-user fa-fw"></i><?= $this->a(t('All users'), 'user', 'index') ?></li> <li><i class="fa fa-plus fa-fw"></i><?= $this->a(t('New user'), 'user', 'create') ?></li> |