summaryrefslogtreecommitdiff
path: root/core/helpers/access.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/helpers/access.php')
-rw-r--r--core/helpers/access.php6
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");
}
}