Per Platonides, fix for r82686: make ApiUploadTest work again
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 2 Mar 2011 12:52:47 +0000 (12:52 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 2 Mar 2011 12:52:47 +0000 (12:52 +0000)
commit60f1302644be8e601ed7bf0dacb8d198432077b8
treea8905e74f1d670119f780bd8a3d7c9534f27b523
parent5c51397edbc3d9062a872a12ac69b4e245e8cc70
Per Platonides, fix for r82686: make ApiUploadTest work again

Added option request parameter to User::editToken() and User::matchEditToken() and use them where possible from the api.
Also removed $_SESSION usage since it's no longer needed
includes/User.php
includes/WebRequest.php
includes/api/ApiBlock.php
includes/api/ApiMain.php
includes/api/ApiQueryDeletedrevs.php
includes/api/ApiQueryUserInfo.php
includes/api/ApiUnblock.php
tests/phpunit/includes/api/ApiUploadTest.php