Remove bogus warning.

This commit is contained in:
Scott Ullrich 2007-07-16 20:27:02 +00:00
parent 7828fd5be8
commit bc48e8208b

View File

@ -336,9 +336,6 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
$clientip,
$clientmac);
if(!$type)
log_error("WARNING: \$type has not been set in captiveportal/index.php");
if ($acct_val == 1)
captiveportal_logportalauth($username,$clientmac,$clientip,$type,"RADIUS ACCOUNTING FAILED");
}