diff options
Diffstat (limited to 'core/helpers/access.php')
-rw-r--r-- | core/helpers/access.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/helpers/access.php b/core/helpers/access.php index 9bf9da6c..6540e3b8 100644 --- a/core/helpers/access.php +++ b/core/helpers/access.php @@ -590,10 +590,6 @@ class access_Core { } static function private_key() { - if (!($key = module::get_var('core', 'private_key'))) { - $key = md5(uniqid(mt_rand(), true)) . md5(uniqid(mt_rand(), true)); - module::set_var('core', 'private_key', $key); - } - return $key; + return module::get_var("core", "private_key"); } } |