Temporarily revert r21784; field changes not live
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 4 May 2007 21:09:13 +0000 (21:09 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 4 May 2007 21:09:13 +0000 (21:09 +0000)
includes/LogPage.php

index 4b2a977..cb57fd4 100644 (file)
@@ -55,12 +55,10 @@ class LogPage {
 
                $dbw = wfGetDB( DB_MASTER );
                $uid = $wgUser->getID();
-                $log_id = $dbw->nextSequenceValue( 'log_log_id_seq' );
 
                $this->timestamp = $now = wfTimestampNow();
                $dbw->insert( 'logging',
                        array(
-                               'log_id' => $log_id,
                                'log_type' => $this->type,
                                'log_action' => $this->action,
                                'log_timestamp' => $dbw->timestamp( $now ),