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 6743ab4..71e0da4 100644 (file)
@@ -177,9 +177,9 @@ class FrameworkConfiguration implements Registerable {
         */
        public final function unsetConfigEntry ($configKey) {
                // Is the configuration entry there?
-               if (!$this->isConfigurationEntrySet($configEntry)) {
+               if (!$this->isConfigurationEntrySet($configKey)) {
                        // 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