All pastes #828981 Raw Edit

Unnamed

public text v1 · immutable
#828981 ·published 2007-12-22 21:24 UTC
rendered paste body
function find_queue($interface, $qname) {
                if ($qname == $this->GetQname()) {
                        return $this;
                }
                if ($this->GetScheduler <> "PRIQ") { //&& $this->GetEnabled()) {
                        foreach ($this->queues as $q) {
                                $result = $q->find_queue("", $qname);
                                if ($result)
                                        return $result;
                        }
                }

                return;
        }