Changeset 9667 for modules/branches/2.8/core/agi-bin
- Timestamp:
- 05/22/10 11:32:59 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.8/core/agi-bin/user_login_out.agi
r9653 r9667 253 253 if ($dnd_devstate) { 254 254 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'); 256 256 } 257 257 if ($cf_devstate) { 258 258 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'); 260 260 } 261 261 // I thought they should then be deleted, but they still end up there probably because setting them to invalid re-creates them
