summaryrefslogtreecommitdiffstats
path: root/core/authorize.php
diff options
context:
space:
mode:
authorAlex Pott2015-02-13 12:56:34 (GMT)
committerAlex Pott2015-02-13 12:56:34 (GMT)
commit7f6f61f4a2e839f502667b5ee698ad591a3addc6 (patch)
tree47c3584d61ee1b24d7acc5a23dcac971eb85de38 /core/authorize.php
parenta3786eacbe76db93c59e30c441e43dd9ab8a6775 (diff)
Issue #2229145 by znerol, neclimdul, larowlan, alexpott, joelpittet, almaudoh, tadityar: Register symfony session components in the DIC and inject the session service into the request object
Diffstat (limited to 'core/authorize.php')
-rw-r--r--core/authorize.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/authorize.php b/core/authorize.php
index d033b7e..dbab02f 100644
--- a/core/authorize.php
+++ b/core/authorize.php
@@ -51,7 +51,6 @@ 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');
}