dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd35df6
)
purgeThumbList() needn't always delete all the files in the thumb dir
author
Russ Nelson
<nelson@users.mediawiki.org>
Wed, 7 Sep 2011 01:09:23 +0000
(
01:09
+0000)
committer
Russ Nelson
<nelson@users.mediawiki.org>
Wed, 7 Sep 2011 01:09:23 +0000
(
01:09
+0000)
includes/filerepo/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/LocalFile.php
b/includes/filerepo/LocalFile.php
index
3387882
..
001cace
100644
(file)
--- a/
includes/filerepo/LocalFile.php
+++ b/
includes/filerepo/LocalFile.php
@@
-761,12
+761,6
@@
class LocalFile extends File {
wfRestoreWarnings();
}
}
- if ( is_dir( $dir ) ) {
- wfSuppressWarnings();
- rmdir( $dir ); // Might have already gone away, spews errors if we don't.
- wfRestoreWarnings();
- }
-
}
/** purgeDescription inherited */