Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -55,10 +55,12 @@ |
56 | 56 | |
57 | 57 | $dbw = wfGetDB( DB_MASTER ); |
58 | 58 | $uid = $wgUser->getID(); |
| 59 | + $log_id = $dbw->nextSequenceValue( 'log_log_id_seq' ); |
59 | 60 | |
60 | 61 | $this->timestamp = $now = wfTimestampNow(); |
61 | 62 | $dbw->insert( 'logging', |
62 | 63 | array( |
| 64 | + 'log_id' => $log_id, |
63 | 65 | 'log_type' => $this->type, |
64 | 66 | 'log_action' => $this->action, |
65 | 67 | 'log_timestamp' => $dbw->timestamp( $now ), |