diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-31 12:37:15 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-31 12:37:15 -0500 |
commit | 772804add8095eea9b3ec2a832c2f82fbb9a6fd5 (patch) | |
tree | 782a414d15f9091d04bcf3960a957f952958e548 /app/Template/user/external.php | |
parent | 66f150d887a34d2b51ff14f22d0fd41a34f8cc77 (diff) |
Acl refactoring
Diffstat (limited to 'app/Template/user/external.php')
-rw-r--r-- | app/Template/user/external.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/user/external.php b/app/Template/user/external.php index 6ee1e459..b4cea156 100644 --- a/app/Template/user/external.php +++ b/app/Template/user/external.php @@ -6,7 +6,7 @@ <h3><i class="fa fa-google"></i> <?= t('Google Account') ?></h3> <p class="listing"> - <?php if ($this->acl->isCurrentUser($user['id'])): ?> + <?php if ($this->userSession->isCurrentUser($user['id'])): ?> <?php if (empty($user['google_id'])): ?> <?= $this->a(t('Link my Google Account'), 'user', 'google', array(), true) ?> <?php else: ?> @@ -22,7 +22,7 @@ <h3><i class="fa fa-github"></i> <?= t('Github Account') ?></h3> <p class="listing"> - <?php if ($this->acl->isCurrentUser($user['id'])): ?> + <?php if ($this->userSession->isCurrentUser($user['id'])): ?> <?php if (empty($user['github_id'])): ?> <?= $this->a(t('Link my GitHub Account'), 'user', 'github', array(), true) ?> <?php else: ?> |