Opps, wrong method name ...
authorRoland Haeder <roland@mxchange.org>
Tue, 26 May 2015 22:23:55 +0000 (00:23 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 26 May 2015 22:23:55 +0000 (00:23 +0200)
Signed-off-by: Roland H├Ąder <roland@mxchange.org>
inc/classes/main/scrypt/class_Scrypt.php

index 8a9ec47..aebadcc 100644 (file)
@@ -130,7 +130,7 @@ abstract class Scrypt extends BaseFrameworkSystem
      */
     public static function hashScrypt ($password, $salt = false, $N = 16384, $r = 8, $p = 1)
     {
-        if ((!FrameworkConfiguration::getSelfInstance()->isConfigEntrySet('extension_scrypt_loaded')) || (FrameworkConfiguration::getSelfInstance()->getConfigEntry('extension_scrypt_loaded') === FALSE)) {
+        if ((!FrameworkConfiguration::getSelfInstance()->isConfigurationEntrySet('extension_scrypt_loaded')) || (FrameworkConfiguration::getSelfInstance()->getConfigEntry('extension_scrypt_loaded') === FALSE)) {
             // Feature has been disabled
             throw new \InvalidArgumentException('Feature "scrypt" disabled.');
         }
@@ -174,7 +174,7 @@ abstract class Scrypt extends BaseFrameworkSystem
             return false;
         }
 
-        if ((!FrameworkConfiguration::getSelfInstance()->isConfigEntrySet('extension_scrypt_loaded')) || (FrameworkConfiguration::getSelfInstance()->getConfigEntry('extension_scrypt_loaded') === FALSE)) {
+        if ((!FrameworkConfiguration::getSelfInstance()->isConfigurationEntrySet('extension_scrypt_loaded')) || (FrameworkConfiguration::getSelfInstance()->getConfigEntry('extension_scrypt_loaded') === FALSE)) {
             // Feature has been disabled
             throw new \InvalidArgumentException('Feature "scrypt" disabled.');
         }