Add some sanity checking. Return nicely if Http::get fails (in general) on fetchImage...
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 14 Dec 2008 07:02:44 +0000 (07:02 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 14 Dec 2008 07:02:44 +0000 (07:02 +0000)
commit06bb3af12e0710a5522af814e52249ead66f2ee1
tree834f3a71b466ac479079daf957b272806bde55f1
parent2288da4d2e1c4f72b66a7a712e18574f549d32a8
Add some sanity checking. Return nicely if Http::get fails (in general) on fetchImageQuery(), and also if our query returns poorly in findBySha1(), similar to queryImage().
includes/filerepo/ForeignAPIRepo.php