Be friendly to memory

This commit is contained in:
Ermal 2014-02-21 10:03:04 +00:00
parent be1e934234
commit 57cd35cf98

View File

@ -204,6 +204,7 @@ EOF;
$config['voucher'][$cpzone]['roll'] = $toreturn['voucher']['roll'];
write_config("Captive Portal Voucher database synchronized with {$url}");
voucher_configure_zone(true);
unset($toreturn['voucher']);
}
return $toreturn['timeleft'];