summaryrefslogtreecommitdiff
path: root/modules/user/views/admin_users.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-19 12:53:44 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-19 12:53:44 -0700
commit098b57bf18112d0a3173dbe28b5ed76782431ff7 (patch)
tree597410ea09aa91de7ac3dde2a5cc7b182c2aa35b /modules/user/views/admin_users.html.php
parent1b530e4680b09391d7f99e91f1b0b1eb6b2069fc (diff)
Simplify the user interface by moving the password reset functionality into the user module
Bagging the User_Definition and Group_Definition abstract classes and replacing them with interfaces with the same names. Make sure all the unit tests work.
Diffstat (limited to 'modules/user/views/admin_users.html.php')
-rw-r--r--modules/user/views/admin_users.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php
index 7c54d93d..ee8d413c 100644
--- a/modules/user/views/admin_users.html.php
+++ b/modules/user/views/admin_users.html.php
@@ -91,7 +91,7 @@
open_text="<?= t("close") ?>"
class="g-panel-link g-button ui-state-default ui-corner-all ui-icon-left">
<span class="ui-icon ui-icon-pencil"></span><span class="g-button-text"><?= t("edit") ?></span></a>
- <? if (user::active()->id != $user->id && !$user->guest): ?>
+ <? if (Session::active_user()->id != $user->id && !$user->guest): ?>
<a href="<?= url::site("admin/users/delete_user_form/$user->id") ?>"
class="g-dialog-link g-button ui-state-default ui-corner-all ui-icon-left">
<span class="ui-icon ui-icon-trash"></span><?= t("delete") ?></a>