summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlinuxpoet <linuxpoet@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 02:03:32 +0000
committerlinuxpoet <linuxpoet@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 02:03:32 +0000
commitb32f9d96c1b652966eafa8c3ae080b6bab1409ee (patch)
tree13faebde558740b0f7a889c5dee2b86570044e14
parent14f4e7b14df6d0a30823b90b66c4f1cb2eb87add (diff)
Ripped out applicaton lock functionality. If you are upgrading schedule an outage.
Removed now deprecated users directory in 1.2 as well git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@923 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/admin.pl18
1 files changed, 5 insertions, 13 deletions
diff --git a/bin/admin.pl b/bin/admin.pl
index 25ca3288..e441b00e 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -199,23 +199,15 @@ sub form_footer {
sub list_users {
- #currently, this is disabled, but will set a value in the central db
- #$nologin = qq|<button type="submit" class="submit" name="action" value="lock_system">|.$locale->text('Lock System').qq|</button>|;
- #
- #if (-e "${LedgerSMB::Sysconfig::userspath}/nologin") {
- # $nologin = qq|<button type="submit" class="submit" name="action" value="unlock_system">|.$locale->text('Unlock System').qq|</button>|;
- #}
# use the central database handle
my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH};
- my $fetchMembers = $dbh->selectall_arrayref("SELECT uc.name, uc.company, uc.templates,
- uc.dbuser, uc.dbdriver, uc.dbname,
- uc.dbhost, u.username
- FROM users as u, users_conf as uc
- WHERE u.id = uc.id
- AND u.id > 1
- ORDER BY u.username;", { Slice => {} });
+ my $fetchMembers = $dbh->selectall_arrayref("SELECT uc.name, uc.company, uc.templates, uc.dbuser, uc.dbdriver, uc.dbname, uc.dbhost, u.username
+ FROM users as u, users_conf as uc
+ WHERE u.id = uc.id
+ AND u.id > 1
+ ORDER BY u.username;", { Slice => {} });
my @memberArray = ();
my @member = ();