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);
        }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to