path: root/core/authorize.php
diff options
authorAlex Pott2015-02-07 21:37:26 (GMT)
committerAlex Pott2015-02-07 21:37:26 (GMT)
commit91ae64ac5926708b78f1eba486ceaa0990b95aec (patch)
tree89d191141176682705dfc7420aabcecc0eec44dc /core/authorize.php
parent834c5a29576e8aa6179b5d8f8d128c760b577e81 (diff)
Revert "Issue #2229145 by znerol, neclimdul, larowlan, joelpittet, almaudoh: Register symfony session components in the DIC and inject the session service into the request object"
This reverts commit b926f5d868c7000019f205bd9bae371c329571aa.
Diffstat (limited to 'core/authorize.php')
1 files changed, 1 insertions, 0 deletions
diff --git a/core/authorize.php b/core/authorize.php
index dbab02f..d033b7e 100644
--- a/core/authorize.php
+++ b/core/authorize.php
@@ -51,6 +51,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')->start();
return Settings::get('allow_authorize_operations', TRUE) && \Drupal::currentUser()->hasPermission('administer software updates');