Opps ...
authorRoland Häder <roland@mxchange.org>
Fri, 18 May 2012 19:25:40 +0000 (19:25 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 18 May 2012 19:25:40 +0000 (19:25 +0000)
inc/config/class_FrameworkConfiguration.php

index 6743ab4b59e023da085290c3226b3d40f91856c7..71e0da4c11716e09ba738ba4ee3f799595894c3b 100644 (file)
@@ -177,9 +177,9 @@ class FrameworkConfiguration implements Registerable {
         */
        public final function unsetConfigEntry ($configKey) {
                // Is the configuration entry there?
         */
        public final function unsetConfigEntry ($configKey) {
                // Is the configuration entry there?
-               if (!$this->isConfigurationEntrySet($configEntry)) {
+               if (!$this->isConfigurationEntrySet($configKey)) {
                        // Entry was not found!
                        // Entry was not found!
-                       throw new NoConfigEntryException(array(__CLASS__, $configEntry), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND);
+                       throw new NoConfigEntryException(array(__CLASS__, $configKey), self::EXCEPTION_CONFIG_ENTRY_WAS_NOT_FOUND);
                } // END - if
 
                // Unset it
                } // END - if
 
                // Unset it