From 202aa130a32c1cd218f883b06c32827a799c9497 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 27 May 2012 14:41:43 +0000 Subject: [PATCH] Opps --- inc/config/class_FrameworkConfiguration.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/config/class_FrameworkConfiguration.php b/inc/config/class_FrameworkConfiguration.php index 43383ad5..914d13a1 100644 --- a/inc/config/class_FrameworkConfiguration.php +++ b/inc/config/class_FrameworkConfiguration.php @@ -187,22 +187,22 @@ class FrameworkConfiguration implements Registerable { * Unset a configuration entry, the entry must be there or else an * exception is thrown. * - * @param $configKey Configuration entry to unset + * @param $configEntry Configuration entry to unset * @return void * @throws NoConfigEntryException If a configuration element was not found */ - public final function unsetConfigEntry ($configKey) { + public final function unsetConfigEntry ($configEntry) { // Convert dashes to underscore $configEntry = $this->convertDashesToUnderscores($configEntry); // Is the configuration entry there? - if (!$this->isConfigurationEntrySet($configKey)) { + if (!$this->isConfigurationEntrySet($configEntry)) { // Entry was not found! - throw new NoConfigEntryException(array(__CLASS__, $configKey), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND); + throw new NoConfigEntryException(array(__CLASS__, $configEntry), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND); } // END - if // Unset it - unset($this->config[$configKey]); + unset($this->config[$configEntry]); } /** -- 2.39.5