Commit a765e882 authored by webchick's avatar webchick

#320127 by matt2000: Fix bug with file_check_directory() being passed a function by-reference.

parent 145e1ced
......@@ -719,7 +719,8 @@ function setUp() {
// Use temporary files directory with the same prefix as database.
$this->original_file_directory = file_directory_path();
variable_set('file_directory_path', file_directory_path() . '/' . $db_prefix);
file_check_directory(file_directory_path(), TRUE); // Create the files directory.
$directory = file_directory_path();
file_check_directory($directory, TRUE); // 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