Explorar el Código

add chat control

andre hace 2 meses
padre
commit
46f2efc104
Se han modificado 1 ficheros con 1 adiciones y 10 borrados
  1. 1 10
      app/UI/Client/Setting/Providers/EditSettingDataProvider.php

+ 1 - 10
app/UI/Client/Setting/Providers/EditSettingDataProvider.php

@@ -164,17 +164,8 @@ class EditSettingDataProvider extends BaseDataProvider
             $value = in_array($field, $fieldToProtection) ? htmlentities($value) : $value;
         }
 
-        $maildomain = $this->getActionElementIdValue();
+        $maildomain = $this->formData['editmaildomain'];
         $domain = $this->getWhmcsParamByKey('domain');
-
-		logModuleCall(
-			'kerioEmail',
-			__FUNCTION__,
-			$this,
-			'Debug API',
-			$domain
-		);
-
         if ($maildomain == $domain) {
             $this->formData['dkimsigenabled'] == 'on' ? $attr['isDkimEnabled'] = true : $attr['isDkimEnabled'] = false;
             $this->formData['tfaenabled'] == 'on' ? $attr['twoFAEnabled'] = true : $attr['twoFAEnabled'] = false;