Index: trunk/extensions/Translate/utils/MessageGroupCache.php |
— | — | @@ -141,7 +141,7 @@ |
142 | 142 | $newhash = md5( file_get_contents( $filename ) ); |
143 | 143 | if ( $this->get( '#filehash' ) === $newhash ) { |
144 | 144 | // Update cache so that we don't need to compare hashes next time |
145 | | - $cache->create( $created ); |
| 145 | + $this->create( $created ); |
146 | 146 | return true; |
147 | 147 | } |
148 | 148 | |
— | — | @@ -155,7 +155,7 @@ |
156 | 156 | // Content hash check |
157 | 157 | if ( $this->get( '#msghash' ) === md5( serialize( ksort( $messages ) ) ) ) { |
158 | 158 | // Update cache so that we don't need to do slow checks next time |
159 | | - $cache->create( $created ); |
| 159 | + $this->create( $created ); |
160 | 160 | return true; |
161 | 161 | } |
162 | 162 | |