X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilerepo%2FFileRepo.php;h=3a366c832c2933c9e97d3973d36141c7c03f5599;hp=3225625b6fc49220b19a58ffc1869f0efe25ed1b;hb=196da35474b3af96a45a4653874d0db91c5051b4;hpb=fbc9e214e7c6f687e7dc3a3178e60f4164ed9ad6 diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index 3225625b6f..3a366c832c 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -1630,18 +1630,6 @@ class FileRepo { return $status; } - /** - * Attempt to stream a file with the given virtual URL/storage path - * - * @deprecated since 1.26, use streamFileWithStatus - * @param string $virtualUrl - * @param array $headers Additional HTTP headers to send on success - * @return bool Success - */ - public function streamFile( $virtualUrl, $headers = [] ) { - return $this->streamFileWithStatus( $virtualUrl, $headers )->isOK(); - } - /** * Call a callback function for every public regular file in the repository. * This only acts on the current version of files, not any old versions.