r92912 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92911‎ | r92912 | r92913 >
Date:22:54, 22 July 2011
Author:catrope
Status:ok (Comments)
Tags:
Comment:
Fix r92911: dropped slash in path
Modified paths:
  • /branches/RL2/extensions/Gadgets/GadgetHooks.php (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/GadgetHooks.php
@@ -178,7 +178,7 @@
179179 * @param $files Array: List of extension test files
180180 */
181181 public static function unitTestsList( $files ) {
182 - $files[] = dirname( __FILE__ ) . 'tests/GadgetsTest.php';
 182+ $files[] = dirname( __FILE__ ) . '/tests/GadgetsTest.php';
183183 return true;
184184 }
185185

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92911RL2: Reorganize the Gadgets extension directory structure a bitcatrope22:52, 22 July 2011

Comments

#Comment by 😂 (talk | contribs)   22:55, 22 July 2011

dirname() doesn't add the trailing slash, so it looks like the original version was correct?

#Comment by Catrope (talk | contribs)   22:56, 22 July 2011

I meant to say that I accidentally dropped the slash in the earlier commit, and am fixing it here.

Status & tagging log