Unser some vars to free space

This commit is contained in:
Ermal 2013-01-21 19:37:24 +00:00
parent 8152f14535
commit f32eae2db8

View File

@ -736,6 +736,7 @@ function captiveportal_prune_old() {
}
}
}
unset($cpdb);
captiveportal_prune_old_automac();
@ -1806,6 +1807,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut
}
}
}
unset($cpdb);
if (!empty($unsetindexes))
captiveportal_remove_entries($unsetindexes);