dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SECURITY: Fix accidental public CC headers in img_auth.php
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
RepoGroup.php
diff --git
a/includes/filerepo/RepoGroup.php
b/includes/filerepo/RepoGroup.php
index
5e37d67
..
b797790
100644
(file)
--- a/
includes/filerepo/RepoGroup.php
+++ b/
includes/filerepo/RepoGroup.php
@@
-138,7
+138,7
@@
class RepoGroup {
$dbkey = $title->getDBkey();
if ( empty( $options['ignoreRedirect'] )
&& empty( $options['private'] )
$dbkey = $title->getDBkey();
if ( empty( $options['ignoreRedirect'] )
&& empty( $options['private'] )
- && empty( $options['
bypassCache
'] )
+ && empty( $options['
latest
'] )
) {
$time = isset( $options['time'] ) ? $options['time'] : '';
if ( $this->cache->has( $dbkey, $time, 60 ) ) {
) {
$time = isset( $options['time'] ) ? $options['time'] : '';
if ( $this->cache->has( $dbkey, $time, 60 ) ) {
@@
-423,7
+423,7
@@
class RepoGroup {
* Split a virtual URL into repo, zone and rel parts
* @param string $url
* @throws MWException
* Split a virtual URL into repo, zone and rel parts
* @param string $url
* @throws MWException
- * @return
array
Containing repo, zone and rel
+ * @return
string[]
Containing repo, zone and rel
*/
function splitVirtualUrl( $url ) {
if ( substr( $url, 0, 9 ) != 'mwrepo://' ) {
*/
function splitVirtualUrl( $url ) {
if ( substr( $url, 0, 9 ) != 'mwrepo://' ) {