r34545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34544‎ | r34545 | r34546 >
Date:01:06, 10 May 2008
Author:aaron
Status:old
Tags:
Comment:
Move up getUser()
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevision.php
@@ -101,6 +101,13 @@
102102 public function getComment() {
103103 return $this->mComment;
104104 }
 105+
 106+ /**
 107+ * @returns Integer the user ID of the reviewer
 108+ */
 109+ public function getUser() {
 110+ return $this->mUser;
 111+ }
105112
106113 /**
107114 * @returns Integer revision timestamp in MW format
@@ -138,13 +145,6 @@
139146 }
140147 return $text;
141148 }
142 -
143 - /**
144 - * @returns Integer the user ID of the reviewer
145 - */
146 - public function getUser() {
147 - return $this->mUser;
148 - }
149149
150150 /**
151151 * Actually load the revision's expanded text

Status & tagging log