Make use of \File::getArchiveRel to avoid code duplication
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 2 Jan 2019 15:24:56 +0000 (16:24 +0100)
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 2 Jan 2019 15:24:56 +0000 (16:24 +0100)
commit2181f406ead57c296f85257ac299cf20f17d857f
tree460a35b59ff5e3c245ef9776e24ce64c3b102bde
parent06b70bbb47108545105be9065fe74302d1f82f05
Make use of \File::getArchiveRel to avoid code duplication

Before, the string "archive/" was hard-coded in many places.

Change-Id: I62e4471711d183f37e89dc02f3709187164faf0e
includes/filerepo/file/File.php
includes/filerepo/file/LocalFile.php
includes/filerepo/file/OldLocalFile.php