jenkins-bot has submitted this change and it was merged.

Change subject: GlobalRenameRequest: Fix typos in variable name
......................................................................


GlobalRenameRequest: Fix typos in variable name

This was causing the requested timestamp to appear as the current
timestamp when viewing the request. Everything appears to be
corrent in the database though.

Change-Id: I647a472d2c580b8a47c18da050214ea78c9f6718
---
M includes/GlobalRename/GlobalRenameRequest.php
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/GlobalRename/GlobalRenameRequest.php 
b/includes/GlobalRename/GlobalRenameRequest.php
index b603bc8..aeeb8e2 100644
--- a/includes/GlobalRename/GlobalRenameRequest.php
+++ b/includes/GlobalRename/GlobalRenameRequest.php
@@ -244,7 +244,7 @@
        public function save() {
                $dbw = self::getDB( DB_MASTER );
                if ( $this->id === null ) {
-                       $this->reqested = wfTimestampNow();
+                       $this->requested = wfTimestampNow();
                        $this->status = self::PENDING;
                        $dbw->insert(
                                'renameuser_queue',
@@ -253,7 +253,7 @@
                                        'rq_wiki'         => $this->wiki,
                                        'rq_newname'      => $this->newName,
                                        'rq_reason'       => $this->reason,
-                                       'rq_requested_ts' => $this->reqested,
+                                       'rq_requested_ts' => $this->requested,
                                        'rq_status'       => $this->status,
                                ),
                                __METHOD__
@@ -267,7 +267,7 @@
                                        'rq_wiki'         => $this->wiki,
                                        'rq_newname'      => $this->newName,
                                        'rq_reason'       => $this->reason,
-                                       'rq_requested_ts' => $this->reqested,
+                                       'rq_requested_ts' => $this->requested,
                                        'rq_status'       => $this->status,
                                        'rq_completed_ts' => $this->completed,
                                        'rq_deleted'      => $this->deleted,
@@ -354,7 +354,7 @@
                        $req->wiki = $row->wiki;
                        $req->newName = $row->newname;
                        $req->reason = $row->reason;
-                       $req->reqested = $row->requested;
+                       $req->requested = $row->requested;
                        $req->status = $row->status;
                        $req->completed = $row->completed;
                        $req->deleted = $row->deleted;

-- 
To view, visit https://gerrit.wikimedia.org/r/168917
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I647a472d2c580b8a47c18da050214ea78c9f6718
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to