]> git.mxchange.org Git - core.git/blobdiff - inc/config/class_FrameworkConfiguration.php
Opps ...
[core.git] / 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?
-               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