Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php |
— | — | @@ -193,7 +193,7 @@ |
194 | 194 | 'acr_name' => $u->mName, |
195 | 195 | 'acr_email' => $u->mEmail, |
196 | 196 | 'acr_real_name' => $u->mRealName, |
197 | | - 'acr_registration' => wfTimestampNow(), |
| 197 | + 'acr_registration' => $dbw->timestamp(), |
198 | 198 | 'acr_bio' => $this->mBio, |
199 | 199 | 'acr_notes' => $this->mNotes, |
200 | 200 | 'acr_urls' => $this->mUrls, |
— | — | @@ -297,7 +297,7 @@ |
298 | 298 | function confirmEmail( $name ) { |
299 | 299 | $dbw = wfGetDB( DB_MASTER ); |
300 | 300 | $dbw->update( 'account_requests', |
301 | | - array( 'acr_email_authenticated' => wfTimestampNow() ), |
| 301 | + array( 'acr_email_authenticated' => $dbw->timestamp() ), |
302 | 302 | array( 'acr_name' => $name ), |
303 | 303 | __METHOD__ ); |
304 | 304 | } |
— | — | @@ -435,7 +435,7 @@ |
436 | 436 | global $wgUser; |
437 | 437 | # Request can later be recovered |
438 | 438 | $dbw->update( 'account_requests', |
439 | | - array( 'acr_rejected' => wfTimestampNow(), |
| 439 | + array( 'acr_rejected' => $dbw->timestamp(), |
440 | 440 | 'acr_user' => $wgUser->getID(), |
441 | 441 | 'acr_deleted' => 1 ), |
442 | 442 | array( 'acr_id' => $this->acrID, 'acr_deleted' => 0 ), |