From fba6f74c017c26ae70332dd695d1158274fd005b Mon Sep 17 00:00:00 2001 From: catch Date: Mon, 24 Mar 2014 17:20:52 +0000 Subject: [PATCH] Issue #2122693 by alexpott: [HEAD BROKEN] follow-up to use Settings class. --- .../lib/Drupal/system/Tests/System/SettingsRewriteTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/lib/Drupal/system/Tests/System/SettingsRewriteTest.php b/core/modules/system/lib/Drupal/system/Tests/System/SettingsRewriteTest.php index 6b9ee6889fb..cf047ad450d 100644 --- a/core/modules/system/lib/Drupal/system/Tests/System/SettingsRewriteTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/System/SettingsRewriteTest.php @@ -123,7 +123,7 @@ EXPECTED 'expected' => '$no_index = true;' ); // Make an empty file. - $filename = settings()->get('file_public_path', conf_path() . '/files') . '/mock_settings.php'; + $filename = Settings::get('file_public_path', conf_path() . '/files') . '/mock_settings.php'; file_put_contents(DRUPAL_ROOT . '/' . $filename, ""); // Write the setting to the file.