|
@@ -73,6 +73,15 @@ class UpdateLimit
|
|
|
* @return bool
|
|
* @return bool
|
|
|
*/
|
|
*/
|
|
|
public function updateBWLimit(int $serviceID, int $bwLimitValue) {
|
|
public function updateBWLimit(int $serviceID, int $bwLimitValue) {
|
|
|
|
|
+
|
|
|
|
|
+ logModuleCall(
|
|
|
|
|
+ 'kerioEmail',
|
|
|
|
|
+ __FUNCTION__,
|
|
|
|
|
+ $serverID,
|
|
|
|
|
+ 'Debug Usage Limits',
|
|
|
|
|
+ $bwLimitValue
|
|
|
|
|
+ );
|
|
|
|
|
+
|
|
|
try {
|
|
try {
|
|
|
$usage = Capsule::table('tblhosting')
|
|
$usage = Capsule::table('tblhosting')
|
|
|
->where('server', $serverId)
|
|
->where('server', $serverId)
|