From: Siebrand Mazeland Date: Fri, 22 Nov 2013 20:25:15 +0000 (+0100) Subject: Do not call FileBackendGroup::get() statically X-Git-Tag: 1.31.0-rc.0~17954^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=bc02ae439b7fd8347187cd99c94ff4f72429c570;p=lhc%2Fweb%2Fwiklou.git Do not call FileBackendGroup::get() statically Change-Id: If63ba967177415d2f0e857dba33a09157c401909 --- diff --git a/includes/externalstore/ExternalStoreMwstore.php b/includes/externalstore/ExternalStoreMwstore.php index aa486796f3..17210077f1 100644 --- a/includes/externalstore/ExternalStoreMwstore.php +++ b/includes/externalstore/ExternalStoreMwstore.php @@ -63,7 +63,7 @@ class ExternalStoreMwstore extends ExternalStoreMedium { } $blobs = array(); foreach ( $pathsByBackend as $backendName => $paths ) { - $be = FileBackendGroup::get( $backendName ); + $be = FileBackendGroup::singleton()->get( $backendName ); $blobs = $blobs + $be->getFileContentsMulti( array( 'srcs' => $paths ) ); } return $blobs;