Index: trunk/extensions/Translate/scripts/sync-group.php |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | // will give preference to groupIds. |
51 | 51 | $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null; |
52 | 52 | $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null; |
53 | | -$groups = singleton()->getGroups( $groupIds, $groupPrefix ); |
| 53 | +$groups = MessageGroups::singleton()->getGroups( $groupIds, $groupPrefix ); |
54 | 54 | |
55 | 55 | if ( !count( $groups ) ) { |
56 | 56 | STDERR( "ESG2: No valid message groups identified." ); |
Index: trunk/extensions/Translate/scripts/export.php |
— | — | @@ -92,7 +92,7 @@ |
93 | 93 | // will give preference to groupIds. |
94 | 94 | $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null; |
95 | 95 | $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null; |
96 | | -$groups = singleton()->getGroups( $groupIds, $groupPrefix ); |
| 96 | +$groups = MessageGroups::singleton()->getGroups( $groupIds, $groupPrefix ); |
97 | 97 | |
98 | 98 | if ( !count( $groups ) ) { |
99 | 99 | STDERR( "No valid message groups identified." ); |