mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
Delete Customer, make sure delete it on mikrotik, not go to expired plan
This commit is contained in:
parent
a2eda99f88
commit
bc721edaca
2 changed files with 2 additions and 0 deletions
|
@ -339,6 +339,7 @@ switch ($action) {
|
|||
if ($_app_stage != 'demo') {
|
||||
if (file_exists($dvc)) {
|
||||
require_once $dvc;
|
||||
$p['plan_expired'] = 0;
|
||||
(new $p['device'])->remove_customer($c, $p);
|
||||
} else {
|
||||
new Exception(Lang::T("Devices Not Found"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue