mail[Wesnoth-commits] r28511 - /trunk/utils/tests/include/FilenameConverter.php


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by paniemin on August 12, 2008 - 22:06:
Author: suokko
Date: Tue Aug 12 22:01:43 2008
New Revision: 28511

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28511&view=rev
Log:
Fixed FilenameConverter not to do type-check for string paramter

Modified:
    trunk/utils/tests/include/FilenameConverter.php

Modified: trunk/utils/tests/include/FilenameConverter.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/tests/include/FilenameConverter.php?rev=28511&r1=28510&r2=28511&view=diff
==============================================================================
--- trunk/utils/tests/include/FilenameConverter.php (original)
+++ trunk/utils/tests/include/FilenameConverter.php Tue Aug 12 22:01:43 2008
@@ -14,7 +14,7 @@
 
 
 class FilenameConverter {
-       public static function stripBuildDirs(string $text)
+       public static function stripBuildDirs($text)
        {
                return 
preg_replace('/^(build\/[^\/]*\/)?(.*[^\/]+:[0-9]+:.*)$/m','$2',$text);
        }




Related Messages


Powered by MHonArc, Updated Tue Aug 12 22:22:30 2008