Re: Recursive upgrade scripts
"Jason Judge" <[email protected]> Fri, 25 Apr 2003 21:53:09 +0100
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | Xaraya News Server |
| Message-ID | <[email protected]> |
"mikespub" <[email protected]> wrote in message news:b8c44e$hkf$2-FogMEOs31dotat4ziPANHlKoq+OfwspIVIuBW6zZ0iQ@public.gmane.org > Actually, if you remove the break; statements in your switch, you don't > need to go through recursive upgrades at all - it'll just "fall through" > from the current version to the end, and execute all necessary > upgrades one by one. Boy - I didn't spot that one! Doh. Thanks Mike. I've noticed some of the modules in the current Xaraya use 'break' and don't call the recursive upgrades. I haven't raised a bug on them yet as I haven't had a chance to try them out. -- JJ