Index: trunk/phase3/maintenance/populateLogSearch.inc |
— | — | @@ -13,7 +13,8 @@ |
14 | 14 | function migrate_log_params( $db ) { |
15 | 15 | $start = $db->selectField( 'logging', 'MIN(log_id)', false, __FUNCTION__ ); |
16 | 16 | if( !$start ) { |
17 | | - die("Nothing to do.\n"); |
| 17 | + echo "Nothing to do.\n"; |
| 18 | + return true; |
18 | 19 | } |
19 | 20 | $end = $db->selectField( 'logging', 'MAX(log_id)', false, __FUNCTION__ ); |
20 | 21 | |