<div dir="ltr"><div>ok - thanks for the update.</div></div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br><div class="gmail_quote">On Mon, Sep 22, 2014 at 2:43 PM, Alan Bell <span dir="ltr"><<a href="mailto:alan.bell@libertus.co.uk" target="_blank">alan.bell@libertus.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>well it is mostly my confusion really,
      I had a module registering a link in the enabled event and
      removing it in the disabled event, I was surprised that it wasn't
      registered on first install of the module.<br>
      Not the end of the world and I can see that things like PBXmanager
      already do the same things in module.postinstall as they do in
      module.enabled, so changing it now would be a bit of a mess as
      existing modules might register links twice.<br>
      <br>
      Alan.<div><div class="h5"><br>
      <br>
      On 22/09/14 09:40, Prasad wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Having it separate helps to define the flow by
        incoming type - else the states need to be tracked too. 
        <div>Is there any use-case to consider?</div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect
              with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
        <br>
        <div class="gmail_quote">On Mon, Sep 22, 2014 at 2:00 PM, Alan
          Bell <span dir="ltr"><<a href="mailto:alan.bell@libertus.co.uk" target="_blank">alan.bell@libertus.co.uk</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think
            that when I install a module, the module.enabled event
            doesn't occur. Should it? I think that it would be
            appropriate to call the enabled event after the postinstall,
            so that anything that should be done when enabling the
            module happens. Of course I can just make it happen in the
            postinstall too. Same goes for module.disabled and
            preuninstall, shouldn't that call the module.disabled stuff
            first?<span><font color="#888888"><br>
                <br>
                Alan.<br>
                <br>
                -- <br>
                Libertus Solutions<br>
                <a href="http://libertus.co.uk" target="_blank">http://libertus.co.uk</a><br>
                <br>
                _______________________________________________<br>
                <a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
    </blockquote><span class="">
    <br>
    <br>
    <pre cols="72">-- 
Libertus Solutions
<a href="http://libertus.co.uk" target="_blank">http://libertus.co.uk</a></pre>
  </span></div>

<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>