Changeset 5754

Show
Ignore:
Timestamp:
05/14/08 13:13:05 (3 months ago)
Author:
p_lindheimer
Message:

Merged revisions 5752-5753 via svnmerge from
http://svn.freepbx.org/modules/branches/2.4

........

r5752 | p_lindheimer | 2008-05-14 13:00:57 -0700 (Wed, 14 May 2008) | 1 line


#2820 generate all timeconditions when authtype database used with dept names

........

r5753 | p_lindheimer | 2008-05-14 13:06:58 -0700 (Wed, 14 May 2008) | 1 line


Module Publish Script: timeconditions 2.4.4.2

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3

    • Property svnmerge-integrated changed from /modules/branches/2.2:1-3588,3615-3635,3637-3638,3640,3674,3680,3686,3692,3702,3706,3710,3716,3758,3760,3762-3765,3767-3785,3787-3789,3801,3810,3828,3831,3839,3860,3866,3875,3877,3887,3899,3911,3913,3943,3982-3983,3990,3998,4007,4022-4023,4089,4092,4098,4265,4285 /modules/branches/2.4:1-5079,5090,5093,5097-5118,5120-5170,5172,5174,5176-5182,5184-5199,5202-5203,5205-5211,5239,5271-5272,5312,5383,5516,5544-5545,5548-5549,5555,5564,5570,5572-5574,5576-5578,5596,5606-5610,5612,5615-5618,5623-5624,5628,5630-5642,5644-5646,5648-5651,5653-5654,5656-5657,5660,5687-5699,5701-5702,5704-5715,5723-5727,5729-5730,5733-5741 to /modules/branches/2.2:1-3588,3615-3635,3637-3638,3640,3674,3680,3686,3692,3702,3706,3710,3716,3758,3760,3762-3765,3767-3785,3787-3789,3801,3810,3828,3831,3839,3860,3866,3875,3877,3887,3899,3911,3913,3943,3982-3983,3990,3998,4007,4022-4023,4089,4092,4098,4265,4285 /modules/branches/2.4:1-5079,5090,5093,5097-5118,5120-5170,5172,5174,5176-5182,5184-5199,5202-5203,5205-5211,5239,5271-5272,5312,5383,5516,5544-5545,5548-5549,5555,5564,5570,5572-5574,5576-5578,5596,5606-5610,5612,5615-5618,5623-5624,5628,5630-5642,5644-5646,5648-5651,5653-5654,5656-5657,5660,5687-5699,5701-5702,5704-5715,5723-5727,5729-5730,5733-5741,5752-5753
  • modules/branches/2.3/timeconditions/functions.inc.php

    r2453 r5754  
    44function timeconditions_destinations() { 
    55        //get the list of meetmes 
    6         $results = timeconditions_list(); 
     6        $results = timeconditions_list(true); 
    77 
    88        // return an associative array with destination and description 
     
    2626        switch($engine) { 
    2727                case "asterisk": 
    28                         $timelist = timeconditions_list(); 
     28                        $timelist = timeconditions_list(true); 
    2929                        if(is_array($timelist)) { 
    3030                                foreach($timelist as $item) { 
     
    4040 
    4141//get the existing meetme extensions 
    42 function timeconditions_list() { 
     42function timeconditions_list($getall=false) { 
    4343        $results = sql("SELECT * FROM timeconditions","getAll",DB_FETCHMODE_ASSOC); 
    4444        if(is_array($results)){ 
    4545                foreach($results as $result){ 
    4646                        // check to see if we have a dept match for the current AMP User. 
    47                         if (checkDept($result['deptname'])){ 
     47                        if ($getall || checkDept($result['deptname'])){ 
    4848                                // return this item's dialplan destination, and the description 
    4949                                $allowed[] = $result; 
  • modules/branches/2.3/timeconditions/module.xml

    r4836 r5754  
    22        <rawname>timeconditions</rawname> 
    33        <name>Time Conditions</name> 
    4         <version>2.4.3.1</version> 
     4        <version>2.4.3.2</version> 
    55        <type>setup</type> 
    66        <category>Inbound Call Control</category> 
     
    99        </description> 
    1010        <changelog> 
     11                *2.4.3.2* generate all timeconditions when using database mode authorization and deptarments 
    1112                *2.4.3.1* bump for rc1 
    1213                *2.4.3* Added SQLite3 support, fixed ticket http://freepbx.org/trac/ticket/1774 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads