install/schemas/upgrade/migration/1.0-1.1.php
changeset 418 322fa0c91303
parent 377 bb3e6c3bd4f4
child 942 18db38c70a41
equal deleted inserted replaced
417:b76ebe229548 418:322fa0c91303
    35   $lang_local = new Language($lang_id);
    35   $lang_local = new Language($lang_id);
    36   $lang_local->import($lang_dir . "tools.json");
    36   $lang_local->import($lang_dir . "tools.json");
    37   $lang_local->import($lang_dir . "user.json");
    37   $lang_local->import($lang_dir . "user.json");
    38   $lang_local->import($lang_dir . "admin.json");
    38   $lang_local->import($lang_dir . "admin.json");
    39   
    39   
    40   setConfig('enano_version', installer_enano_version());
    40   // This doesn't set to installer_enano_version() because it only
       
    41   // migrates the database from 1.0.x to 1.1.x status and runs the
       
    42   // core logic required to transform a 1.0.x installation into
       
    43   // a 1.1.x installation. Thus, when upgrading, the upgrade script
       
    44   // still needs to run all later upgrade schema files in addition
       
    45   // to this migration code.
       
    46   setConfig('enano_version', '1.1.1');
    41   
    47   
    42   return true;
    48   return true;
    43 }
    49 }
    44 
    50