X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FForeignDBRepo.php;h=4b331389b7b954c31c9c89289c4b60cedc09cfae;hb=e16fbb689747221d379f7d754ea241499c73df9e;hp=7879448bb663be93c727d51912ff971849a03214;hpb=8a4a8a8dcbaf454c9f64cd8b5ba90704d7721500;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/ForeignDBRepo.php b/includes/filerepo/ForeignDBRepo.php index 7879448bb6..4b331389b7 100644 --- a/includes/filerepo/ForeignDBRepo.php +++ b/includes/filerepo/ForeignDBRepo.php @@ -132,9 +132,8 @@ class ForeignDBRepo extends LocalRepo { function getSharedCacheKey( /*...*/ ) { if ( $this->hasSharedCache() ) { $args = func_get_args(); - array_unshift( $args, $this->dbName, $this->tablePrefix ); - return call_user_func_array( 'wfForeignMemcKey', $args ); + return wfForeignMemcKey( $this->dbName, $this->tablePrefix, ...$args ); } else { return false; }