/** * Removes config item by provided plugin key and config name. * * @param string $key * @param string $name */ public function removeConfig($key, $name) { $event = OW::getEventManager()->trigger(new OW_Event(self::EVENT_BEFORE_REMOVE, array("key" => $key, "name" => $name))); if ($event->getData() !== false) { $this->configDao->removeConfig($key, $name); OW::getEventManager()->trigger(new OW_Event(self::EVENT_BEFORE_REMOVE, array("key" => $key, "name" => $name))); } }
/** * Removes config item by provided plugin key and config name. * * @param string $key * @param string $name */ public function removeConfig($key, $name) { $this->configDao->removeConfig($key, $name); }