summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/messagegroups/AggregateMessageGroup.php')
-rw-r--r--MLEB/Translate/messagegroups/AggregateMessageGroup.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/MLEB/Translate/messagegroups/AggregateMessageGroup.php b/MLEB/Translate/messagegroups/AggregateMessageGroup.php
index 17d83a33..8c803ab3 100644
--- a/MLEB/Translate/messagegroups/AggregateMessageGroup.php
+++ b/MLEB/Translate/messagegroups/AggregateMessageGroup.php
@@ -20,16 +20,13 @@ class AggregateMessageGroup extends MessageGroupBase {
/** @inheritDoc */
public function exists() {
// Group exists if there are any subgroups.
- $exists = (bool)$this->conf['GROUPS'];
-
- return $exists;
+ return (bool)$this->conf['GROUPS'];
}
/** @inheritDoc */
public function load( $code ) {
$messages = [];
- /** @var $group MessageGroup */
foreach ( $this->getGroups() as $group ) {
$messages += $group->load( $code );
}