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
Merge "mw.language.convertPlural: Check if matching form exists"
[lhc/web/wiklou.git]
/
includes
/
externalstore
/
ExternalStoreMwstore.php
diff --git
a/includes/externalstore/ExternalStoreMwstore.php
b/includes/externalstore/ExternalStoreMwstore.php
index
aa48679
..
f329b73
100644
(file)
--- a/
includes/externalstore/ExternalStoreMwstore.php
+++ b/
includes/externalstore/ExternalStoreMwstore.php
@@
-43,6
+43,7
@@
class ExternalStoreMwstore extends ExternalStoreMedium {
// backends should at least have "read-after-create" consistency.
return $be->getFileContents( array( 'src' => $url ) );
}
// backends should at least have "read-after-create" consistency.
return $be->getFileContents( array( 'src' => $url ) );
}
+
return false;
}
return false;
}
@@
-63,9
+64,10
@@
class ExternalStoreMwstore extends ExternalStoreMedium {
}
$blobs = array();
foreach ( $pathsByBackend as $backendName => $paths ) {
}
$blobs = array();
foreach ( $pathsByBackend as $backendName => $paths ) {
- $be = FileBackendGroup::get( $backendName );
+ $be = FileBackendGroup::
singleton()->
get( $backendName );
$blobs = $blobs + $be->getFileContentsMulti( array( 'srcs' => $paths ) );
}
$blobs = $blobs + $be->getFileContentsMulti( array( 'srcs' => $paths ) );
}
+
return $blobs;
}
return $blobs;
}
@@
-90,6
+92,7
@@
class ExternalStoreMwstore extends ExternalStoreMedium {
return $url;
}
}
return $url;
}
}
+
return false;
}
}
return false;
}
}