Physikerwelt has uploaded a new change for review. https://gerrit.wikimedia.org/r/157760
Change subject: Check if file cache exist before accessing it. ...................................................................... Check if file cache exist before accessing it. Bug: 70270 Change-Id: Id2535d9da45f77744786973583c54075a9c4f9a9 --- M includes/filerepo/RepoGroup.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/60/157760/1 diff --git a/includes/filerepo/RepoGroup.php b/includes/filerepo/RepoGroup.php index fab4216..3c02d3d 100644 --- a/includes/filerepo/RepoGroup.php +++ b/includes/filerepo/RepoGroup.php @@ -134,6 +134,7 @@ if ( empty( $options['ignoreRedirect'] ) && empty( $options['private'] ) && empty( $options['bypassCache'] ) + && $this->cache ) { $time = isset( $options['time'] ) ? $options['time'] : ''; $dbkey = $title->getDBkey(); -- To view, visit https://gerrit.wikimedia.org/r/157760 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id2535d9da45f77744786973583c54075a9c4f9a9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Physikerwelt <w...@physikerwelt.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits