mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-23 02:58:30 +02:00
fix bug cron and update plan
This commit is contained in:
parent
9190660c1c
commit
bd8dd87384
3 changed files with 8 additions and 3 deletions
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2023.11.9
|
||||||
|
|
||||||
|
- fix bug variable in cron
|
||||||
|
- fix update plan
|
||||||
|
|
||||||
## 2023.10.27
|
## 2023.10.27
|
||||||
|
|
||||||
- Backup and restore database
|
- Backup and restore database
|
||||||
|
|
|
@ -118,7 +118,7 @@ foreach ($d as $ds) {
|
||||||
if (empty($p['pool_expired'])) {
|
if (empty($p['pool_expired'])) {
|
||||||
print_r(Radius::customerDeactivate($c['username']));
|
print_r(Radius::customerDeactivate($c['username']));
|
||||||
} else {
|
} else {
|
||||||
Radius::upsertCustomerAttr($c['username'], 'Framed-Pool', $plan['pool_expired'], ':=');
|
Radius::upsertCustomerAttr($c['username'], 'Framed-Pool', $p['pool_expired'], ':=');
|
||||||
print_r(Radius::disconnectCustomer($c['username']));
|
print_r(Radius::disconnectCustomer($c['username']));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -172,7 +172,7 @@ foreach ($d as $ds) {
|
||||||
if (empty($p['pool_expired'])) {
|
if (empty($p['pool_expired'])) {
|
||||||
print_r(Radius::customerDeactivate($c['username']));
|
print_r(Radius::customerDeactivate($c['username']));
|
||||||
} else {
|
} else {
|
||||||
Radius::upsertCustomerAttr($c['username'], 'Framed-Pool', $plan['pool_expired'], ':=');
|
Radius::upsertCustomerAttr($c['username'], 'Framed-Pool', $p['pool_expired'], ':=');
|
||||||
print_r(Radius::disconnectCustomer($c['username']));
|
print_r(Radius::disconnectCustomer($c['username']));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"version": "2023.10.27"
|
"version": "2023.11.9"
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue