Show
Ignore:
Timestamp:
05/22/10 11:32:59 (3 years ago)
Author:
p_lindheimer
Message:

fixes #4219 use NOT_INUSE in place of UNKNOWN

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.8/core/agi-bin/user_login_out.agi

    r9653 r9667  
    253253      if ($dnd_devstate) { 
    254254        debug("Setting device $device DND state to INVALID before deleting",5); 
    255         $agi->set_variable($DEVSTATE.'(Custom:DEVDND'.$device.')','UNKNOWN'); 
     255        $agi->set_variable($DEVSTATE.'(Custom:DEVDND'.$device.')','NOT_INUSE'); 
    256256      } 
    257257      if ($cf_devstate) { 
    258258        debug("Setting device $device CF state to INVALID before deleting",5); 
    259         $agi->set_variable($DEVSTATE.'(Custom:DEVCF'.$device.')','UNKNOWN'); 
     259        $agi->set_variable($DEVSTATE.'(Custom:DEVCF'.$device.')','NOT_INUSE'); 
    260260      } 
    261261      // I thought they should then be deleted, but they still end up there probably because setting them to invalid re-creates them