Index: trunk/phase3/includes/filerepo/FileCache.php |
— | — | @@ -69,8 +69,8 @@ |
70 | 70 | */ |
71 | 71 | function clearFiles( $remove ) { |
72 | 72 | wfDebug( "FileCache clearing data for ".count( $remove )." files\n" ); |
73 | | - $this->cache = array_diff_keys( $this->cache, $remove ); |
74 | | - $this->notFound = array_diff_keys( $this->notFound, $remove ); |
| 73 | + $this->cache = array_diff_key( $this->cache, $remove ); |
| 74 | + $this->notFound = array_diff_key( $this->notFound, $remove ); |
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | */ |
82 | 82 | function markNotFound( $dbkeys ) { |
83 | 83 | wfDebug( "FileCache marking ".count( $dbkeys )." files as not found\n" ); |
84 | | - $this->notFound += array_fill_keys( $dbkeys, true ); |
| 84 | + $this->notFound += array_fill_key( $dbkeys, true ); |
85 | 85 | } |
86 | 86 | |
87 | 87 | |