Commit 5c3db651 authored by Dries's avatar Dries

- Patch #322779 by Damein Tournoud, cha0s: simpletest calls file_check_directory incorrectly.

parent a9e37e29
......@@ -725,7 +725,7 @@ function setUp() {
$this->original_file_directory = file_directory_path();
variable_set('file_directory_path', file_directory_path() . '/' . $db_prefix);
$directory = file_directory_path();
file_check_directory($directory, TRUE); // Create the files directory.
file_check_directory($directory, FILE_CREATE_DIRECTORY); // Create the files directory.
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment