- π¨π¦Canada danrod Ottawa
I fixed most of the issues reported by the Queue Bot, but there's still a PHPSTAN issue to fix: https://git.drupalcode.org/issue/drupal-1818764/-/jobs/5007233
------ --------------------------------------------------------------------- Line core/modules/update/update.module ------ --------------------------------------------------------------------- 207 Function _update_manager_access not found. πͺͺ function.notFound π‘ Learn more at https://phpstan.org/user-guide/discovering-symbols
Where is this function
_update_manager_access
implemented? was it ever implemented in this MR? I think it's a legacy function from D7 that needs to be refactored here:/** * Access callback: Resolves if the current user can access updater menu items. * * It both enforces the 'administer software updates' permission and the global * kill switch for the authorize.php script. * * @return * TRUE if the current user can access the updater menu items; FALSE * otherwise. * * @see update_menu() */ function update_manager_access() { return variable_get('allow_authorize_operations', TRUE) && user_access('administer software updates'); }
- First commit to issue fork.