summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-21 10:03:04 +0000
committerErmal <eri@pfsense.org>2014-02-21 10:03:04 +0000
commit57cd35cf98c5cb4a00d5a4ecae18310a5045bc34 (patch)
tree8118f39e439b0b3f51fa717751f1ab15ee12bf70 /etc
parentbe1e934234148ee71f52a05a419f602a819e41bd (diff)
downloadpfsense-57cd35cf98c5cb4a00d5a4ecae18310a5045bc34.zip
pfsense-57cd35cf98c5cb4a00d5a4ecae18310a5045bc34.tar.gz
Be friendly to memory
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/voucher.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/voucher.inc b/etc/inc/voucher.inc
index 0c1c135..4b8398c 100644
--- a/etc/inc/voucher.inc
+++ b/etc/inc/voucher.inc
@@ -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'];
OpenPOWER on IntegriCloud