Mostly revert "Verify parameter for MapCacheLRU::has() can be passed to array_key_exi...
authorAlex Monk <krenair@gmail.com>
Tue, 7 Apr 2015 01:41:33 +0000 (01:41 +0000)
committerKrinkle <krinklemail@gmail.com>
Tue, 7 Apr 2015 02:08:11 +0000 (02:08 +0000)
commit156bcbec81d782627ee88c404c8cf8adad854a14
treea5f880d98bc3ca5a1b9e26b8d5811c7032bd441e
parent372ded2fea436bf0e61318991f903d61bde26366
Mostly revert "Verify parameter for MapCacheLRU::has() can be passed to array_key_exists()"

This broke a few things, and the debug line was basically pointless.

Instead, continue to only throw an exception if $text is an object, but only
warn if it's otherwise not a string.

This reverts commit 372ded2fea436bf0e61318991f903d61bde26366.

Change-Id: I060da9191cdbd00c4873caba875bfb77c917bcd7
includes/Title.php
includes/libs/MapCacheLRU.php