Index: trunk/extensions/CheckUser/install.inc |
— | — | @@ -15,8 +15,8 @@ |
16 | 16 | // Check if the table is empty |
17 | 17 | $rcRows = $db->selectField( 'recentchanges', 'COUNT(*)', false, __FUNCTION__ ); |
18 | 18 | if ( !$rcRows ) { |
19 | | - echo "recent_changes is empty; nothing to add.\n"; |
20 | | - exit( 1 ); |
| 19 | + echo "recentchanges is empty; nothing to add.\n"; |
| 20 | + return; |
21 | 21 | } |
22 | 22 | |
23 | 23 | if( $cutoff ) { |