diff --git a/pandora_console/include/lib/Event.php b/pandora_console/include/lib/Event.php index 9fca537463..e09b4ace20 100644 --- a/pandora_console/include/lib/Event.php +++ b/pandora_console/include/lib/Event.php @@ -182,20 +182,9 @@ class Event extends Entity */ public function save() { - global $config; - - if (is_metaconsole() === false && isset($config['centralized_management']) === true - && (bool) $config['centralized_management'] === true - ) { - throw new \Exception( - 'error, cannot save in centralized management environment.' - ); - } - $values = $this->fields; // Clean null fields. foreach ($values as $k => $v) { - hd('"'.$k.'" "'.$v.'"', true); if ($v === null) { unset($values[$k]); }