All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 57f05001 authored by Mac Newbold's avatar Mac Newbold

Grab idle threshold from the site vars.

parent e9dc17ac
......@@ -18,7 +18,7 @@ use Getopt::Std;
$| = 1;
# Defaults
my $defidlehours = 2;
my $defidlehours = TBGetSiteVar("idle/threshold");
# Don't put 'my' on these, or they won't be settable with ${$var}
$h = 0; # help mode
......
......@@ -18,7 +18,7 @@ use Getopt::Std;
$| = 1;
# Defaults
my $defidlehours = 2;
my $defidlehours = TBGetSiteVar("idle/threshold");
# Don't put 'my' on these, or they won't be settable with ${$var}
$h = 0; # help mode
......
......@@ -76,8 +76,8 @@ $showlastlogin = $isadmin;
# show properly... it just shows the header in the table, over the
# wrong column.
# how many hours is considered idle...
$idlehours = 2;
# How many hours is considered idle...
$idlehours = TBGetSiteVar("idle/threshold");
#
# Handle showtype
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment