Index: trunk/extensions/Translate/scripts/ttmserver-export.php |
— | — | @@ -40,8 +40,7 @@ |
41 | 41 | public function execute() { |
42 | 42 | $server = TTMServer::primary(); |
43 | 43 | if ( $server instanceof FakeTTMServer ) { |
44 | | - $this->error( "Translation memory is not configured properly" ); |
45 | | - $this->exit(); |
| 44 | + $this->error( "Translation memory is not configured properly", 1 ); |
46 | 45 | } |
47 | 46 | |
48 | 47 | $dbw = $server->getDB( DB_MASTER ); |
— | — | @@ -53,7 +52,7 @@ |
54 | 53 | $this->output( 'fulltext.. ', 1 ); |
55 | 54 | $dbw->delete( 'translate_tmf', '*', __METHOD__ ); |
56 | 55 | $table = $dbw->tableName( 'translate_tmf' ); |
57 | | - # $dbw->query( "DROP INDEX tmf_text ON $table" ); |
| 56 | + $dbw->query( "DROP INDEX tmf_text ON $table" ); |
58 | 57 | $this->output( 'done!', 1 ); |
59 | 58 | |
60 | 59 | $this->statusLine( 'Loading groups... ', 2 ); |