Fix user rights check to display the "revert" link on file histories.
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 29 May 2012 17:09:01 +0000 (19:09 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 29 May 2012 17:09:01 +0000 (19:09 +0200)
commit42fcb726e6bf318e0df292c18ba84acfe5baf4d3
treeda1b3e34cea45c4aa40395bbf0247f84266e5b17
parent8241670132edf99e105ff133fcfb4f415955aecb
Fix user rights check to display the "revert" link on file histories.

* Don't do expensive checks for display (for the consistency of the interface)
* Removed the logged-in check and changed it for 'upload' right (as the user need this right to execute the action)

Change-Id: Ie5752e5292a953cbcf81ab665365c3efbd4eba6a
includes/ImagePage.php