add notice for settings that might require reconfiguration of specific services
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -337,6 +337,8 @@ class User
|
||||
if ($field == 'diskspace' && ($customer_arr[$field] / 1024) != '-1') {
|
||||
$arr[$used_field] += intval($customer_arr[$field]);
|
||||
} elseif ($field == 'traffic_used') {
|
||||
// no check for -1 here because we don't want the assigned traffic for admins/resellers but
|
||||
// the actually used (for stats reasons)
|
||||
$arr[$used_field] += intval($customer_arr[$field]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user