X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FForeignResourceManager.php;h=80a12fe1e64654d9e2d47f0586d3ad4d11caf4f3;hb=e22efbce178309cb4dd537633b634bfc9e17d571;hp=dddbad53349be99fd8055106a30a11549f11f2af;hpb=0fd6cab93875296beac0c1c30203ec569ef21747;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ForeignResourceManager.php b/includes/ForeignResourceManager.php index dddbad5334..80a12fe1e6 100644 --- a/includes/ForeignResourceManager.php +++ b/includes/ForeignResourceManager.php @@ -19,6 +19,8 @@ * @ingroup Maintenance */ +use Wikimedia\AtEase\AtEase; + /** * Manage foreign resources registered with ResourceLoader. * @@ -150,7 +152,7 @@ class ForeignResourceManager { /** @return string|false */ private function cacheGet( $key ) { - return Wikimedia\quietCall( 'file_get_contents', "{$this->cacheDir}/$key.data" ); + return AtEase::quietCall( 'file_get_contents', "{$this->cacheDir}/$key.data" ); } private function cacheSet( $key, $data ) {