Commit c838e5e5 authored by Leigh Stoller's avatar Leigh Stoller

Add check of sitevar 'swap/use_admission_control', return a pass if

admission control is turned off.
parent ee9937d3
......@@ -1052,6 +1052,12 @@ sub TBAdmissionControlCheck($$$$)
if (defined($ptypearray));
$uid = MapNumericUID($uid);
#
# Check to see if admin control is even on.
#
return 1
if (! TBGetSiteVar("swap/use_admission_control"));
#
# Admin people do not get checks (when in admin mode of course).
......
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