summaryrefslogtreecommitdiffstats
path: root/core/authorize.php
diff options
context:
space:
mode:
authorNathaniel Catchpole2014-07-03 12:48:25 (GMT)
committerNathaniel Catchpole2014-07-03 12:49:37 (GMT)
commitcebfd8ec546d65958c39aec1b1fa20d487d053c9 (patch)
tree26e721913fa340caeaf5c4f7300664fe9541a558 /core/authorize.php
parentfee42cb6b3578d3d1bed7150ae25b350610ab67c (diff)
Issue #2272987 by znerol, alexpott: Fixed Do not persist session manager.
Diffstat (limited to 'core/authorize.php')
-rw-r--r--core/authorize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/authorize.php b/core/authorize.php
index 04c4e54..5418007 100644
--- a/core/authorize.php
+++ b/core/authorize.php
@@ -49,7 +49,7 @@ const MAINTENANCE_MODE = 'update';
* TRUE if the current user can run authorize.php, and FALSE if not.
*/
function authorize_access_allowed() {
- \Drupal::service('session_manager')->initialize();
+ \Drupal::service('session_manager')->startLazy();
return Settings::get('allow_authorize_operations', TRUE) && user_access('administer software updates');
}