<p class="MsoNormal">I find my self longing for Activate and Deactivate hooks for
modules.<span style=""> </span>These hooks would run only
when the module is activated or deactivated in the admin/modules form This
would give module developers a convenient place to run on-time setup code (e.g.
database setup) and a place to do cleanup once their module was
deactivated.<span style=""> </span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If there's interest I could create a patch for
discussion.<span style=""> </span>Is there another easy way
to accomplish these types of setup and cleanup tasks?</p>
<p class="MsoNormal"> </p>
<span style="font-size: 12pt; font-family: "Times New Roman";"><span style=""><br></span></span>