X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FFileRepo.php;h=3a366c832c2933c9e97d3973d36141c7c03f5599;hb=0ffc58d935d4258dcb9411fa5e2f981dee7ca165;hp=3225625b6fc49220b19a58ffc1869f0efe25ed1b;hpb=00063e1eb126d6a0917331d46303d7ea180c74bc;p=lhc%2Fweb%2Fwiklou.git 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.