durangod Posted August 26, 2014 Share Posted August 26, 2014 Hi, i read the section on module updates. It did not provide enough detail or samples for me to understand how the process works. When we do the update are we updating your modtable or does that table see the new version in the config right away? What throughs me off is that sample you have, why am i adding a element to a table and especially your table lol.. That sample totally confuses me compared to the test. Are there better docs or resources? I dont have to worry about it now cause we just released this version but i hope i can get this figured out by the time im ready to issue an update. I understand that the upgrade utility looks at the config, so can you split the sides up so i know. What do i need to do update sql wize to update your side? Just change the config, thats it? I know what to do with my created module tables. Thanks 0 Quote Link to comment Share on other sites More sharing options...
TekStorm Inc - James Posted August 26, 2014 Share Posted August 26, 2014 (edited) The _upgrade function runs when visiting Setup >> Addon Modules. You don't need to do anything special regarding the version that's shown within WHMCS on that page; WHMCS will update it itself based on the version that you've set within the _config function. You need not do anything within the _upgrade function unless you're needing and/or wanting to do something for your own use. For example, to change the schema of your own database table; or, whatever else you may need to do for the update. Edited August 26, 2014 by TekStorm Inc - James 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted August 26, 2014 Author Share Posted August 26, 2014 Thank you sir... You said that and cleared it up in much less text then they took to confuse me lmao..... Just picking in ya WHMCS,still love ya Thanks for the info 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.