Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/168917

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/17/168917/1

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: newchange
Gerrit-Change-Id: I647a472d2c580b8a47c18da050214ea78c9f6718
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

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

Reply via email to