Issue #2122693 by alexpott: [HEAD BROKEN] follow-up to use Settings class.

8.0.x
catch 2014-03-24 17:20:52 +00:00
parent cd7841b96e
commit fba6f74c01
1 changed files with 1 additions and 1 deletions

View File

@ -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.