Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -152,12 +152,12 @@ |
153 | 153 | } |
154 | 154 | // Get the old status from the master |
155 | 155 | $dbw = wfGetDB( DB_MASTER ); |
156 | | - $this->moldStatus = $dbw->selectField( 'code_rev', |
| 156 | + $this->mOldStatus = $dbw->selectField( 'code_rev', |
157 | 157 | 'cr_status', |
158 | 158 | array( 'cr_repo_id' => $this->mRepoId, 'cr_id' => $this->mId ), |
159 | 159 | __METHOD__ |
160 | 160 | ); |
161 | | - if ( $this->moldStatus === $status ) { |
| 161 | + if ( $this->mOldStatus === $status ) { |
162 | 162 | return false; // nothing to do here |
163 | 163 | } |
164 | 164 | // Update status |
— | — | @@ -176,7 +176,7 @@ |
177 | 177 | 'cpc_repo_id' => $this->getRepoId(), |
178 | 178 | 'cpc_rev_id' => $this->getId(), |
179 | 179 | 'cpc_attrib' => 'status', |
180 | | - 'cpc_removed' => $this->moldStatus, |
| 180 | + 'cpc_removed' => $this->mOldStatus, |
181 | 181 | 'cpc_added' => $status, |
182 | 182 | 'cpc_timestamp' => $dbw->timestamp(), |
183 | 183 | 'cpc_user' => $user->getId(), |
— | — | @@ -186,7 +186,7 @@ |
187 | 187 | ); |
188 | 188 | } |
189 | 189 | |
190 | | - $this->sendStatusToUDP( $status, $this->moldStatus ); |
| 190 | + $this->sendStatusToUDP( $status, $this->mOldStatus ); |
191 | 191 | |
192 | 192 | return true; |
193 | 193 | } |