From: Roland Haeder Date: Tue, 26 May 2015 22:23:55 +0000 (+0200) Subject: Opps, wrong method name ... X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=8557b4385895b8cb92e04c5dd66c783b25055dd7;ds=sidebyside Opps, wrong method name ... Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/scrypt/class_Scrypt.php b/inc/classes/main/scrypt/class_Scrypt.php index 8a9ec47e..aebadcc7 100644 --- a/inc/classes/main/scrypt/class_Scrypt.php +++ b/inc/classes/main/scrypt/class_Scrypt.php @@ -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.'); }