diff --git a/core/modules/update/update.module b/core/modules/update/update.module index daf0676..b19979b 100644 --- a/core/modules/update/update.module +++ b/core/modules/update/update.module @@ -155,7 +155,7 @@ function update_page_top() { } /** - * Access callback: Resolves if the current user can access updater menu items. + * Access helper: 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. @@ -163,8 +163,6 @@ function update_page_top() { * @return * TRUE if the current user can access the updater menu items; FALSE * otherwise. - * - * @see update_menu() */ function update_manager_access() { return Settings::get('allow_authorize_operations', TRUE) && \Drupal::currentUser()->hasPermission('administer software updates');