Two fixups to SearchResult
authorChad Horohoe <chadh@wikimedia.org>
Wed, 15 Jan 2014 00:20:53 +0000 (16:20 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 15 Jan 2014 00:21:53 +0000 (16:21 -0800)
commitd109ff79e18faa2fb3e9c87a69f42fc4cd0f3f34
tree819de8104f72520bd9a4dc556a86fd4b9cd0630f
parente611058226ff02b2e20f3f4e3a8f56189f43871b
Two fixups to SearchResult

- Make variables protected. Only class that uses these is LuceneResult
  and it's fine
- Don't bother constructing a new file object if we've already got
  one in memory (we likely do)

Change-Id: I7973aff1e96297a2fea70392b765c93a8c884d52
includes/search/SearchEngine.php
includes/specials/SpecialSearch.php