Disabling mailinglist.

Discussion in 'Installation/Configuration' started by karuott, Nov 13, 2013.

  1. karuott

    karuott New Member

    Hi!
    I have question about disabling mailinglist for users. We are doing lists by hand.
    Is it okay if i comment out in
    Code:
    /usr/local/ispconfig/interface/web/mail/lib/module.conf.php
    
    that
    PHP:
    //**** Mailinglist menu
    $items = array();

    if(
    $app->auth->get_client_limit($userid,'mailmailinglist') != 0)
    {
            
    $items[] = array( 'title' <---->=> 'Mailing List',
                                            
    'target'     => 'content',
                                            
    'link'        => 'mail/mail_mailinglist_list.php',
                                            
    'html_id' => 'mail_mailinglist_list');
    }

    if(
    count($items))
    {
            
    $module['nav'][] = array(<----->'title'>=> 'Mailing List',
                                                                    
    'open' >=> 1,
                                                                    
    'items'>=> $items);
    }
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No need for any code changes, simply set the mailinglist limit in the client details to 0.
     
  3. karuott

    karuott New Member

    Thank you, i knew it but i didn't thought that all.
     

Share This Page