Changeset 1094 for trunk/components

Show
Ignore:
Timestamp:
2008-09-15 03:54:35 (4 months ago)
Author:
MaierMan
Message:

#864: Wrong version compare

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/components/migrationService.js

    r1084 r1094  
    6262 
    6363                        let lastVersion = Preferences.getExt('version', '0'); 
    64                         if (0 == DTA.compareVersion(lastVersion)) { 
     64                        if (0 == DTA.compareVersion(DTA.BASE_VERSION, lastVersion)) { 
    6565                                return; 
    6666                        } 
     
    7575                                .createInstance(Components.interfaces.nsIDialogParamBlock); 
    7676        params.SetNumberStrings(1); 
    77         params.SetString(0, DTA.VERSION); 
     77        params.SetString(0, DTA.BASE_VERSION); 
    7878        let mediator = {}; 
    7979        Components.utils.import('resource://dta/mediator.jsm', mediator);