r27902 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r27901‎ | r27902 | r27903 >
Date:20:17, 27 November 2007
Author:tlaqua
Status:old
Tags:
Comment:
Minor fix - previous revision defined $dir after it was used (making it undefined when it was needed).
Modified paths:
  • /trunk/extensions/StalePages/StalePages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/StalePages/StalePages.php
@@ -18,12 +18,12 @@
1919 );
2020
2121 if( version_compare( $wgVersion, '1.12alpha', '>=' ) ) {
 22+ $dir = dirname(__FILE__) . '/';
2223 $wgExtensionMessagesFiles['Stalepages'] = $dir . 'StalePages.i18n.php';
2324 } else {
2425 $wgExtensionFunctions[] = 'efStalepages';
2526 }
2627
27 -$dir = dirname(__FILE__) . '/';
2828 $wgAutoloadClasses['Stalepages'] = $dir . 'StalePages_body.php';
2929
3030 $wgSpecialPages['Stalepages'] = 'Stalepages';

Status & tagging log