- Add missing wfProfileOut( __METHOD__ ); in FSFile.php [
13ae6bfb]
- Remove unused $IP globals in ApiUpload.php [
fbf34d84]
- Remove empty statement in EditPage.php [
375687ed]
Change-Id: I3b0506e3c8fc89b352a0d72f18e51a1223af0e9b
* since the post-edit state should only apply to the load right after the save.
*/
protected function setPostEditCookie() {
- global $wgCookiePrefix, $wgCookieDomain;;
+ global $wgCookiePrefix, $wgCookieDomain;
$revisionId = $this->mArticle->getLatest();
$postEditKey = self::POST_EDIT_COOKIE_KEY_PREFIX . $revisionId;
* @return array
*/
private function getChunkResult( $warnings ) {
- global $IP;
-
$result = array();
$result['result'] = 'Continue';
* @return array
*/
protected function performUpload( $warnings ) {
- global $IP;
-
// Use comment as initial page text by default
if ( is_null( $this->mParams['text'] ) ) {
$this->mParams['text'] = $this->mParams['comment'];
wfProfileIn( __METHOD__ );
if ( $this->sha1Base36 !== null && !$recache ) {
+ wfProfileOut( __METHOD__ );
return $this->sha1Base36;
}