Project

General

Profile

« Previous | Next » 

Revision 2720e1ce

Added by Ermal LUÇI over 13 years ago

Unset previously set voucher sync information

View differences:

usr/local/www/services_captiveportal_vouchers.php
211 211
		else
212 212
			unset($config['voucher']['enable']);
213 213
		if (empty($_POST['vouchersyncusername'])) {
214
			unset($config['voucher']['vouchersyncdbip']);
215
			unset($config['voucher']['vouchersyncport']);
216
			unset($config['voucher']['vouchersyncusername']);
217
			unset($config['voucher']['vouchersyncpass']);
214 218
			$config['voucher']['charset'] = $_POST['charset'];
215 219
			$config['voucher']['rollbits'] = $_POST['rollbits'];
216 220
			$config['voucher']['ticketbits'] = $_POST['ticketbits'];

Also available in: Unified diff