Fix LocalFile::move
authorGergő Tisza <tgr.huwiki@gmail.com>
Tue, 25 Jun 2019 14:30:31 +0000 (16:30 +0200)
committerGergő Tisza <tgr.huwiki@gmail.com>
Tue, 25 Jun 2019 16:38:13 +0000 (18:38 +0200)
commitb71610c069c69b2a991cb43b059642aca1882f4a
tree3b717cd4cc4221c879f2965b2cd463de88046195
parent67d01c452da591faced0a4be7940acf4f3292928
Fix LocalFile::move

Fixes a wfFindFile/wfLocalFile mixup in I9437494d.

Also restore the original behavior in Linker::makeBrokenImageLinkObj
for paranoia - findFile has a local cache so calling it and then
discarding the results is not completely a noop.

Bug: T226448
Change-Id: Ibb9d6f6383eb96ba27e0edd60423552e5cea4688
includes/Linker.php
includes/filerepo/file/LocalFile.php