r76445 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76444‎ | r76445 | r76446 >
Date:15:06, 10 November 2010
Author:ialex
Status:deferred
Tags:
Comment:
Seems I forgot to mark paths as absolute paths
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/CentralNotice.php
@@ -140,17 +140,17 @@
141141 } else {
142142 if ( $updater->getDB()->getType() == 'mysql' ) {
143143 $updater->addExtensionUpdate( array( 'addTable', 'cn_notices',
144 - $base . '/CentralNotice.sql' ) );
 144+ $base . '/CentralNotice.sql', true ) );
145145 $updater->addExtensionUpdate( array( 'addField', 'cn_notices', 'not_preferred',
146 - $base . '/patches/patch-notice_preferred.sql' ) );
 146+ $base . '/patches/patch-notice_preferred.sql', true ) );
147147 $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_languages',
148 - $base . '/patches/patch-notice_languages.sql' ) );
 148+ $base . '/patches/patch-notice_languages.sql', true ) );
149149 $updater->addExtensionUpdate( array( 'addField', 'cn_templates', 'tmp_display_anon',
150 - $base . '/patches/patch-template_settings.sql' ) );
 150+ $base . '/patches/patch-template_settings.sql', true ) );
151151 $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_countries',
152 - $base . '/patches/patch-notice_countries.sql' ) );
 152+ $base . '/patches/patch-notice_countries.sql', true ) );
153153 $updater->addExtensionUpdate( array( 'addTable', 'cn_notice_projects',
154 - $base . '/patches/patch-notice_projects.sql' ) );
 154+ $base . '/patches/patch-notice_projects.sql', true ) );
155155 }
156156 }
157157 return true;

Status & tagging log