Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevision.php |
— | — | @@ -297,7 +297,7 @@ |
298 | 298 | $revRow = array( |
299 | 299 | 'fr_page_id' => $this->getPage(), |
300 | 300 | 'fr_rev_id' => $this->getRevId(), |
301 | | - 'fr_rev_timestamp' => $this->getRevTimestamp(), |
| 301 | + 'fr_rev_timestamp' => $dbw->timestamp( $this->getRevTimestamp() ), |
302 | 302 | 'fr_user' => $this->mUser, |
303 | 303 | 'fr_timestamp' => $dbw->timestamp( $this->mTimestamp ), |
304 | 304 | 'fr_quality' => $this->mQuality, |
— | — | @@ -336,8 +336,7 @@ |
337 | 337 | $dbw = wfGetDB( DB_MASTER ); |
338 | 338 | # Delete from flaggedrevs table |
339 | 339 | $dbw->delete( 'flaggedrevs', |
340 | | - array( 'fr_rev_id' => $this->getRevId() ), |
341 | | - __METHOD__ ); |
| 340 | + array( 'fr_rev_id' => $this->getRevId() ), __METHOD__ ); |
342 | 341 | # Wipe versioning params... |
343 | 342 | $dbw->delete( 'flaggedtemplates', |
344 | 343 | array( 'ft_rev_id' => $this->getRevId() ), __METHOD__ ); |