r25342 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25341‎ | r25342 | r25343 >
Date:09:37, 31 August 2007
Author:aaron
Status:old
Tags:
Comment:
*Get log_timestamp to make sure it actually checks
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -1154,7 +1154,7 @@
11551155 return true;
11561156 # Do not re-add status if it was previously removed...
11571157 $db = wfGetDB( DB_MASTER );
1158 - $removed = $dbw->selectField( 'logging', '1',
 1158+ $removed = $dbw->selectField( 'logging', 'log_timestamp',
11591159 array( 'log_namespace' => NS_USER,
11601160 'log_title' => $wgUser->getUserPage()->getDBkey(),
11611161 'log_type' => 'rights',

Status & tagging log