Changeset 2510

Show
Ignore:
Timestamp:
06/04/08 17:00:14 (6 months ago)
Author:
bchoate
Message:

Don't die on failure to save config settings. BugId:80034

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-39/lib/MT/ConfigMgr.pm

    r2206 r2510  
    240240 
    241241    $config->data($data); 
    242     $config->save or die $config->errstr; 
     242    # Ignore any error returned for the sake of MT-Wizard, 
     243    # where the mt_config table doesn't actually exist yet. 
     244    $config->save; 
    243245    $mgr->clear_dirty; 
    244246    1;