r96392 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96391
|
r96392
|
r96393
>
Date:
01:09, 7 September 2011
Author:
nelson
Status:
ok
Tags:
Comment:
purgeThumbList() needn't always delete all the files in the thumb dir
Modified paths:
/trunk/phase3/includes/filerepo/LocalFile.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/filerepo/LocalFile.php
—
—
@@ -761,12 +761,6 @@
762
762
wfRestoreWarnings();
763
763
}
764
764
}
765
- if ( is_dir( $dir ) ) {
766
- wfSuppressWarnings();
767
- rmdir( $dir ); // Might have already gone away, spews errors if we don't.
768
- wfRestoreWarnings();
769
- }
770
-
771
765
}
772
766
773
767
/** purgeDescription inherited */
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r96375
delete now-empty archived thumb directories
nelson
21:51, 6 September 2011
Status & tagging log
01:14, 7 September 2011
😂
(
talk
|
contribs
)
changed the
status
of r96392
[
removed:
new
added:
ok]