Index: trunk/phase3/includes/filerepo/backend/FileBackend.php |
— | — | @@ -1531,7 +1531,7 @@ |
1532 | 1532 | if ( isset( $this->shardViaHashLevels[$container] ) ) { |
1533 | 1533 | $config = $this->shardViaHashLevels[$container]; |
1534 | 1534 | $hashLevels = (int)$config['levels']; |
1535 | | - if ( $hashLevels == 0 || $hashLevels == 2 ) { |
| 1535 | + if ( $hashLevels == 1 || $hashLevels == 2 ) { |
1536 | 1536 | $hashBase = (int)$config['base']; |
1537 | 1537 | if ( $hashBase == 16 || $hashBase == 36 ) { |
1538 | 1538 | return array( $hashLevels, $hashBase, $config['repeat'] ); |