/** * Delete option from database * * @param string $name * @return boolean */ function removeOption($name) { $delete = ConfigOptions::delete(array('name = ?', $name)); if ($delete && !is_error($delete)) { cache_remove(TABLE_PREFIX . 'config_options_name_' . $name); } // if return $delete; }