mediawiki-extensions-Echo/includes/model
Kunal Mehta b2961ccb0c EchoTargetPage: Don't call Title::newFromId() repeatedly
Title::newFromId() can return null, and if this were the case the
instance caching would never work, so it would continually make useless
database queries.

Initialize the $title member variable as false to begin with, and use
that to check whether we've already checked Title::newFromId().

Change-Id: Id07c2c963ffcd03e212bed0a666735bcb68b92e0
2016-03-08 01:43:08 +00:00
..
AbstractEntity.php Move all PHP code into includes/ 2015-06-07 18:54:14 -07:00
Event.php Require a User object to be passed to EchoEvent::userCan() 2015-11-23 16:08:17 -08:00
Notification.php Always show the messages flyout icon 2016-02-23 01:21:28 -08:00
TargetPage.php EchoTargetPage: Don't call Title::newFromId() repeatedly 2016-03-08 01:43:08 +00:00