In #1827112: Convert 'install_profile' variable to Settings we forgot to update the function doc block fordrupal_get_profile()

Critical because we mention variable_get() :)

Part of #1775842: [meta] Convert all variables to state and/or config systems

CommentFileSizeAuthor
#4 2112261.4.patch795 bytesalexpott
#2 2112261.2.patch793 bytesalexpott
#1 2112261.1.patch820 bytesalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott’s picture

Status: Active » Needs review
FileSize
820 bytes

Here's a patch

alexpott’s picture

FileSize
793 bytes

Don't really like the test in #1 it's too verbose and doesn't really add value.

damiankloip’s picture

  1. +++ b/core/includes/common.inc
    @@ -260,9 +260,8 @@ function drupal_get_region_content($region = NULL, $delimiter = ' ') {
    + * installation state. At all other times, the install_profile setting will be
    

    Should we wrap this setting name in quotes?

  2. +++ b/core/includes/common.inc
    @@ -260,9 +260,8 @@ function drupal_get_region_content($region = NULL, $delimiter = ' ') {
    + * available in settings.php.
    

    Howcome you changed from using settings() to settings.php - out of interest :)

alexpott’s picture

FileSize
795 bytes

1. Sure
2. Because everyone knows where their settings.php file is :)

damiankloip’s picture

Status: Needs review » Reviewed & tested by the community

2. zing! Sounds fair to me :)

jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! Committed to 8.x.

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.