Index: trunk/extensions/WikimediaMaintenance/clearMessageBlobs.php |
— | — | @@ -24,12 +24,14 @@ |
25 | 25 | } |
26 | 26 | |
27 | 27 | foreach ( glob( "$IP/languages/messages/Messages*.php" ) as $file ) { |
28 | | - if ( !file_exists( $file ) ) { |
29 | | - continue; |
30 | | - } |
31 | 28 | $maxTime = max( $maxTime, filemtime( $file ) ); |
32 | 29 | } |
33 | 30 | |
| 31 | + # LocalisationUpdate |
| 32 | + foreach ( glob( "$IP/cache/l10n/*.cache" ) as $file ) { |
| 33 | + $maxTime = max( $maxTime, filemtime( $file ) ); |
| 34 | + } |
| 35 | + |
34 | 36 | if ( !file_exists( "$IP/cache/message-timestamp" ) ) { |
35 | 37 | $this->clearBlobs(); |
36 | 38 | } else { |