r92038 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92037‎ | r92038 | r92039 >
Date:00:37, 13 July 2011
Author:kaldari
Status:ok
Tags:
Comment:
adding schema updating code for campaign log table
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/CentralNotice.php
@@ -147,6 +147,8 @@
148148 $base . '/patches/patch-notice_countries.sql' );
149149 $wgExtNewTables[] = array( 'cn_notice_projects',
150150 $base . '/patches/patch-notice_projects.sql' );
 151+ $wgExtNewTables[] = array( 'cn_notice_log',
 152+ $base . '/patches/patch-notice_log.sql' );
151153 }
152154 } else {
153155 if ( $updater->getDB()->getType() == 'mysql' ) {
@@ -164,6 +166,8 @@
165167 $base . '/patches/patch-notice_countries.sql', true ) );
166168 $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_projects',
167169 $base . '/patches/patch-notice_projects.sql', true ) );
 170+ $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_log',
 171+ $base . '/patches/patch-notice_log.sql', true ) );
168172 }
169173 }
170174 return true;

Status & tagging log