SMF Support > SMF 2.0.x Support
Hooks and reloading files
(1/1)
vbgamer45:
If you reload all the main SMF files.
Do you first have to uninstall all the mods that uses hooks?
Or can you just overwirte the files?
My concern is I see that hooks add function/source files include calls in modSettings and wondering how that is handled if you overwrite the files/clear files so mods are no longer "installed".
BTW I think we need better ways to manage hooks and see what hooks are installed and ways to disable/enable them. Gets kind of a pain to debug them.
Arantor:
You probably should uninstall them, or at least empty out the relevant item(s) in the smf_settings table.
There is actually a bug filed on Mantis about this, by IchBin I believe, though there it was more about the consequences of upgrading rather than overwriting the files.
Suki:
There is a mod for 2.0.1 and Ema is/going to integrate that for 2.1
Navigation
[0] Message Index
Go to full version