Address my r76242 fixme.
authorPlatonides <platonides@users.mediawiki.org>
Thu, 6 Jan 2011 21:26:20 +0000 (21:26 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 6 Jan 2011 21:26:20 +0000 (21:26 +0000)
commitf5543bfa3f2bbf10f87e9e23784282a5d66c0920
tree511243993ae8667cdb7872a2855afe1a2428d451
parenteef1e101ecc15a5b99b356ec50c41b27f4e90798
Address my r76242 fixme.
Remove invalidateTitleProtectionCache().
Set $mTitleProtection to the proper value when we change it instead of forcing a reload via the protected_titles table.
Make Title::loadRestrictionsFromRows() private since it is only called by the private loadRestrictionsFromResultWrapper() and nobody should be fiddling with such title internals anyway  (follow up to r54527).
Removed the invalidateTitleProtectionCache() from getCascadeProtectionSources() since that function only deals with titles which do exist. There's nothing to invalidate there.
includes/Title.php