Move permissions check in getUserPermissionsErrorsInternal up to the top. There's...
authorAndrew Garrett <werdna@users.mediawiki.org>
Thu, 5 Feb 2009 23:29:19 +0000 (23:29 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Thu, 5 Feb 2009 23:29:19 +0000 (23:29 +0000)
commite76bc52f1dbd179a3f91ca423c75e6e1a481707f
tree38208c324179981621674e3a497198e009cf0c4e
parent990ecad13c83ed1485bba6cd7a76c9e0742fcb7c
Move permissions check in getUserPermissionsErrorsInternal up to the top. There's little use in short-circuiting in this method if we do the operations in order from most expensive (and least likely to short-circuit) to least expensive (and most likely to short-circuit).
includes/Title.php