Index: trunk/tools/mwmultiversion/multiversion/populateWikiversionCDB.php |
— | — | @@ -31,6 +31,7 @@ |
32 | 32 | |
33 | 33 | $path = '/home/wikipedia/common/all.dblist'; |
34 | 34 | $dbList = explode( "\n", file_get_contents( $path ) ); |
| 35 | + $dbList = array_filter( $dbList ); // remove whitespace entry |
35 | 36 | if ( !count( $dbList ) ) { |
36 | 37 | die( "Unable to read all.dblist." ); |
37 | 38 | } |