Permalink
Browse files

//Merge controllers/admin/AdminTranslationsController.php

  • Loading branch information...
1 parent aae9aa8 commit ef46d4180035a0917cbf8965c8a2268842b1b5e2 @vAugagneur vAugagneur committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 controllers/admin/AdminTranslationsController.php
@@ -659,8 +659,8 @@ public function submitImportLang()
elseif (!preg_match('@^[0-9a-z-_/\\\\]+\.(html|tpl|txt)$@i', $file2check['filename']))
$this->errors[] = sprintf(Tools::displayError('Unidentified file found: %s'), $file2check['filename']);
}
+ Tools::deleteDirectory($sandbox, true);
}
- Tools::deleteDirectory($sandbox, true);
if (count($this->errors))
return false;

0 comments on commit ef46d41

Please sign in to comment.