Changeset 1505

Show
Ignore:
Timestamp:
03/02/08 10:47:21 (9 months ago)
Author:
fabry
Message:

Only a certain type of users can show up on the pbi user assignment. fixes #106

Location:
websites/pbidir.com/bibivu
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • websites/pbidir.com/bibivu/etc/cron.conf.php

    r1382 r1505  
    3030 ********************************/ 
    3131 
    32 $cron['php']            = '/usr/local/bibivu/php/bin/php -q ';  //php path, comment out to use "php" 
     32//$cron['php']          = '/usr/local/bibivu/php/bin/php -q ';  //php path, comment out to use "php" 
     33$cron['php']            = '/usr/local/bin/php -q ';     //php path, comment out to use "php" 
    3334 
    3435$cron['hourly']         = '0    *       *       *       *'; 
  • websites/pbidir.com/bibivu/lib/pbi.php

    r1504 r1505  
    145145                                                                ); 
    146146                        $filters = array(); 
    147                         $filters[] = array('field'=>'status', 'operator'=>'=', 'value'=>'active'); 
     147                        $filters[0] = array('field'=>'status', 'operator'=>'=', 'value'=>'active'); 
     148                        $filters[1][] = array('field'=>'group_id', 'operator'=>'=', 'value'=>'1');      //root 
     149                        $filters[1][] = array('field'=>'group_id', 'operator'=>'=', 'value'=>'3');      //Maintainer 
    148150                        $tmps = $this->get_raw($filters, array('name'),array(), '','user'); 
    149151                        $values = array();