summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-10-20 00:55:30 +0000
committerDries Buytaert <dries@buytaert.net>2009-10-20 00:55:30 +0000
commit0d2b7fe81b37ce2ccddca0d6bbd1aa276d20d82e (patch)
treefdca2c31435f098d88fb23a5b5a94ce912282327 /modules/simpletest/drupal_web_test_case.php
parenteeb7b53ef6c2098a0e428f98dd578eaa78a1ed89 (diff)
downloadbrdo-0d2b7fe81b37ce2ccddca0d6bbd1aa276d20d82e.tar.gz
brdo-0d2b7fe81b37ce2ccddca0d6bbd1aa276d20d82e.tar.bz2
- Patch #443200 by c960657: fixed user pictures not working with private files.
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index bf8e8e78d..398e63d0b 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -1175,7 +1175,7 @@ class DrupalWebTestCase extends DrupalTestCase {
if (preg_match('/simpletest\d+/', $db_prefix)) {
// Delete temporary files directory.
- file_unmanaged_delete_recursive(file_directory_path());
+ file_unmanaged_delete_recursive($this->originalFileDirectory . '/' . $db_prefix);
// Remove all prefixed tables (all the tables in the schema).
$schema = drupal_get_schema(NULL, TRUE);