Index: trunk/extensions/CentralNotice/CentralNotice.php |
— | — | @@ -153,8 +153,6 @@ |
154 | 154 | $base . '/patches/patch-template_settings.sql' ); |
155 | 155 | $wgExtNewFields[] = array( 'cn_templates', 'tmp_fundraising', |
156 | 156 | $base . '/patches/patch-template_fundraising.sql' ); |
157 | | - $wgExtNewFields[] = array( 'cn_templates', 'tmp_landingcheck', |
158 | | - $base . '/patches/patch-template_landingcheck.sql' ); |
159 | 157 | $wgExtNewTables[] = array( 'cn_notice_countries', |
160 | 158 | $base . '/patches/patch-notice_countries.sql' ); |
161 | 159 | $wgExtNewTables[] = array( 'cn_notice_projects', |
— | — | @@ -163,6 +161,8 @@ |
164 | 162 | $base . '/patches/patch-notice_log.sql' ); |
165 | 163 | $wgExtNewTables[] = array( 'cn_template_log', |
166 | 164 | $base . '/patches/patch-template_log.sql' ); |
| 165 | + $wgExtNewFields[] = array( 'cn_templates', 'tmp_landingcheck', |
| 166 | + $base . '/patches/patch-template_landingcheck.sql' ); |
167 | 167 | } |
168 | 168 | } else { |
169 | 169 | if ( $updater->getDB()->getType() == 'mysql' ) { |
— | — | @@ -176,8 +176,6 @@ |
177 | 177 | $base . '/patches/patch-template_settings.sql', true ) ); |
178 | 178 | $updater->addExtensionUpdate( array( 'addField', 'cn_templates', 'tmp_fundraising', |
179 | 179 | $base . '/patches/patch-template_fundraising.sql', true ) ); |
180 | | - $updater->addExtensionUpdate( array( 'addField', 'cn_templates', 'tmp_landingcheck', |
181 | | - $base . '/patches/patch-template_landingcheck.sql', true ) ); |
182 | 180 | $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_countries', |
183 | 181 | $base . '/patches/patch-notice_countries.sql', true ) ); |
184 | 182 | $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_projects', |
— | — | @@ -186,6 +184,8 @@ |
187 | 185 | $base . '/patches/patch-notice_log.sql', true ) ); |
188 | 186 | $updater->addExtensionUpdate( array( 'addTable', 'cn_template_log', |
189 | 187 | $base . '/patches/patch-template_log.sql', true ) ); |
| 188 | + $updater->addExtensionUpdate( array( 'addField', 'cn_templates', 'tmp_landingcheck', |
| 189 | + $base . '/patches/patch-template_landingcheck.sql', true ) ); |
190 | 190 | } |
191 | 191 | } |
192 | 192 | return true; |