Changeset 2277

Show
Ignore:
Timestamp:
12/02/10 10:55:50 (18 months ago)
Author:
nick_ramsay
Message:

[1.5] Remove SYS_UPDATES option from settings page during upgrade to 1.5.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/install/install-upgrade.php

    r2268 r2277  
    659659                        @rmdir(CACHE . '1'); 
    660660                } 
     661 
    661662                // update "old version" for next set of upgrades 
    662663                $old_version = "1.4.2"; 
     664        } 
     665 
     666         // 1.4.2 to 1.5.0 
     667        if ($old_version == "1.4.2") 
     668        { 
     669                // remove sys_updates option from settings  
     670                $sql = "DELETE FROM " . TABLE_SETTINGS . " WHERE settings_name = %s";  
     671                $h->db->query($h->db->prepare($sql, 'SYS_UPDATES')); 
     672 
     673                // update "old version" for next set of upgrades 
     674                $old_version = "1.5.0"; 
    663675        } 
    664676