From 1a1666c399cb4c85c60475218dc4a180972d5393 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Tue, 13 Aug 2013 18:45:18 +0200 Subject: [PATCH] // Syntax error --- install-dev/models/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-dev/models/install.php b/install-dev/models/install.php index 2d83c6707..00008c856 100644 --- a/install-dev/models/install.php +++ b/install-dev/models/install.php @@ -374,7 +374,7 @@ class InstallModelInstall extends InstallAbstractModel if (file_exists(_PS_TMP_IMG_DIR_)) foreach (scandir(_PS_TMP_IMG_DIR_) as $file) if ($file[0] != '.' && $file != 'index.php') - self::deleteDirectory($dir.DIRECTORY_SEPARATOR.$file); + Tools::deleteDirectory(_PS_TMP_IMG_DIR_.DIRECTORY_SEPARATOR.$file); $default_data = array( 'shop_name' => 'My Shop',