Koozali.org: home of the SME Server

code in queuesSQL.php commented out - why?

Offline apmuthu

  • *
  • 244
  • +0/-0
code in queuesSQL.php commented out - why?
« on: February 25, 2013, 09:18:07 AM »
The file opt/sark/generator/queuesSQL.php has it's lines 37-43 commented out in SAIL v3.1.1-22 / v4.0.0 - any reason:
Code: [Select]
/* 
        foreach ($dbh->query($Agents) as $A_row) {
            if (in_array($row['pkey'], $A_row)) { 
                $OUT .= 'member => Agent/' . $A_row['pkey'] . "\n";
            }
        }
*/
It was not commented out in SAIL v3.1.0-145.

Is there any archive repo for older SAIL builds?

« Last Edit: February 25, 2013, 10:01:13 AM by apmuthu »

Offline SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: code in queuesSQL.php commented out - why?
« Reply #1 on: February 26, 2013, 01:18:37 AM »
Hi

Yes, it was dropped because we went over to dynamic queues and agents so we didn't need to generate the agent entries any more.  Think it was earlier than -22, but I'd need to look in svn to see exactly when it changed.

We have every sail build we've ever done here but it's not available on-line.  we tend only to put up the last couple or so.

Best

S

Offline apmuthu

  • *
  • 244
  • +0/-0
Re: code in queuesSQL.php commented out - why?
« Reply #2 on: February 26, 2013, 03:34:40 PM »
Thanks Jeff. Wiki-ed it.