Index: trunk/extensions/Translate/Groups.php |
— | — | @@ -182,9 +182,7 @@ |
183 | 183 | |
184 | 184 | class FileBasedMessageGroup extends MessageGroupBase { |
185 | 185 | public function exists() { |
186 | | - $ffs = $this->getFFS(); |
187 | | - $data = $ffs->read( 'en' ); |
188 | | - return $data && count($data['MESSAGES']); |
| 186 | + return (bool) count($this->load('en')); |
189 | 187 | } |
190 | 188 | |
191 | 189 | public function load( $code ) { |