From f326b5965025fd7d36b0152b7b6748a5e9e1bb1d Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 24 Mar 2011 00:43:27 +0000 Subject: [PATCH] Remove some trailing whitespace Add some documentation --- includes/ImageGallery.php | 1 + includes/Status.php | 1 + includes/api/ApiFileRevert.php | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index 4ee9a77ea3..fc980af9cb 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -22,6 +22,7 @@ class ImageGallery /** * Registered parser object for output callbacks + * @var Parser */ var $mParser; diff --git a/includes/Status.php b/includes/Status.php index 6e44d0ba47..372f8c6de1 100644 --- a/includes/Status.php +++ b/includes/Status.php @@ -305,6 +305,7 @@ class Status { } return $result; } + /** * Returns true if the specified message is present as a warning or error * diff --git a/includes/api/ApiFileRevert.php b/includes/api/ApiFileRevert.php index 2cf3b90561..b330e2b2d8 100644 --- a/includes/api/ApiFileRevert.php +++ b/includes/api/ApiFileRevert.php @@ -55,7 +55,6 @@ class ApiFileRevert extends ApiBase { $this->params = $this->extractRequestParams(); $this->validateParameters(); - $sourceUrl = $this->file->getArchiveVirtualUrl( $this->archiveName ); $status = $this->file->upload( $sourceUrl, $this->params['comment'], $this->params['comment'] ); -- 2.20.1