Bug #21189 ยป 12119.diff
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'),
|