Skip to Content.
Sympa Menu

en - [sympa-users] sub get_which

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Yavuz SERT" <address@concealed>
  • To: <address@concealed>
  • Subject: [sympa-users] sub get_which
  • Date: Wed, 25 May 2005 17:23:25 +0300

Hi all

 

In list.pm there is a function named get_which

In this function  there is a loop like this:

foreach my $l (@get_which) {

      my $list = new List ($l);

..

 

And in wwsympa.fcgi there is a loop again in do_which like this:

 

foreach my $l( &List::get_which($param->{'user'}{'email'}, $robot, $role) )

 

in the which function, sympa looks for all lists, if I am an owner or editor of the list.

For this, sympa run a query for each list.

 

So if there are a lots of lists isn’t there a lots of query for each user?

 

If I’m false I’m sorry. Can u explain the method?

 

 

Yavuz

 




Archive powered by MHonArc 2.6.19+.

Top of Page