Project

General

Profile

Bug #21189 ยป 12119.diff

Administrator Admin, 2009-10-04 21:05

View differences:

typo3/mod/tools/em/class.em_index.php (working copy)
foreach($remDirs as $removeRelDir) {
$removeDir = $removePath.$removeRelDir;
if (@is_dir($removeDir)) {
rmdir($removeDir);
@rmdir($removeDir);
clearstatcache();
if (@is_dir($removeDir)) {
$errors[] = sprintf($GLOBALS['LANG']->getLL('rmExtDir_error_files_left'),
......
// If extension dir should also be removed:
if (!$removeContentOnly) {
rmdir($removePath);
@rmdir($removePath);
clearstatcache();
if (@is_dir($removePath)) {
$errors[] = sprintf($GLOBALS['LANG']->getLL('rmExtDir_error_folders_left'),
    (1-1/1)