Quantcast
WoWInterface: SVN - NightWatch - Diff - Rev 24 and 21 - /trunk/NightWatch.lua

WoWInterface SVN NightWatch

[/] [trunk/] [NightWatch.lua] - Diff between revs 21 and 24

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 21 Rev 24
Line 617... Line 617...
 
 
function addon:profileChanged()
function addon:profileChanged()
        db = addon.db.profile
        db = addon.db.profile
        for i = 1, #sink do
        for i = 1, #sink do
                sink[i]:SetSinkStorage(db.sinkStorage[i])
                sink[i]:SetSinkStorage(db.sinkStorage[i])
        end     addon:dbUpgrade()
        end
 
        addon:dbUpgrade()
        addon:resetSelected()
        addon:resetSelected()
end
end
 
 
function addon:dbUpgrade()
function addon:dbUpgrade()
        if db.dbVers and db.dbVers > 7 then return end                                                  -- DB Already upgraded
        if db.dbVers and db.dbVers > 7 then return end                                                  -- DB Already upgraded