Revision c65c3a5d
Added by Ermal LUÇI over 12 years ago
etc/inc/voucher.inc | ||
---|---|---|
670 | 670 |
if (!isset($config['voucher'][$cpzone]['enable'])) |
671 | 671 |
return; // no vouchers or don't want to save DB's |
672 | 672 |
|
673 |
if (!is_array($config['voucher'][$cpzone]['roll'])) |
|
674 |
return; |
|
675 |
|
|
673 | 676 |
$voucherlck = lock("voucher{$cpzone}", LOCK_EX); |
674 | 677 |
|
675 | 678 |
// walk all active rolls and save runtime DB's to flash |
Also available in: Unified diff
If there is no roll do not try to save anything