aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-03-15 15:25:39 +0000
committerThomas Willingham <founder@kakste.com>2013-03-15 15:25:39 +0000
commitb48c481b9cb1b1c06634139dc0e6c4c91b83d873 (patch)
treed1ace904df3f775859dfb6aa7aa047776d828d83 /mod/admin.php
parentd07971b909363dd82faee3e4b5a218cb21d376dc (diff)
downloadvolse-hubzilla-b48c481b9cb1b1c06634139dc0e6c4c91b83d873.tar.gz
volse-hubzilla-b48c481b9cb1b1c06634139dc0e6c4c91b83d873.tar.bz2
volse-hubzilla-b48c481b9cb1b1c06634139dc0e6c4c91b83d873.zip
Tidy up
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/mod/admin.php b/mod/admin.php
index e88936cf4..be8575e4e 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -564,10 +564,9 @@ function admin_page_users(&$a){
$a->set_pager_itemspage(100);
}
-// FIXME this is borked since there is no more user table
-
-// $users = q("SELECT `account_email` FROM `account`
-// ",
+
+// WEe'll still need to link email addresses to admin/users/channels or some such, but this bit doesn't exist yet.
+// That's where we need to be doing last post/channel flags/etc, not here.
$users =q("SELECT `account_id` , `account_email`, `account_lastlog`, `account_created`, `account_service_class` FROM `account`",
intval($a->pager['start']),
intval($a->pager['itemspage'])
@@ -607,7 +606,7 @@ function admin_page_users(&$a){
'$unblock' => t('Unblock'),
'$h_users' => t('Users'),
- '$th_users' => array( t('Name'), t('Email'), t('Register date'), t('Last login'), t('Last item'), t('Account'), t('Service Class')),
+ '$th_users' => array( t('Email'), t('Register date'), t('Last login'), t('Service Class')),
'$confirm_delete_multi' => t('Selected users will be deleted!\n\nEverything these users had posted on this site will be permanently deleted!\n\nAre you sure?'),
'$confirm_delete' => t('The user {0} will be deleted!\n\nEverything this user has posted on this site will be permanently deleted!\n\nAre you sure?'),