Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/helpdesk/helpdesk.control.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2883 by niro, Fri Dec 18 14:13:48 2015 UTC revision 2884 by niro, Fri Aug 14 11:38:20 2020 UTC
# Line 35  push_config_05_helpdesk_unit() Line 35  push_config_05_helpdesk_unit()
35   local value   local value
36    
37   value=$(mysqldo "select client_locations.helpdesk_unit from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'")   value=$(mysqldo "select client_locations.helpdesk_unit from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'")
38   control_client "${serial}" set helpdesk.unit "${value}"   control_client "${serial}" set helpdesk.unit "\"${value}\""
39  }  }
40    
41  push_config_05_helpdesk_phone()  push_config_05_helpdesk_phone()
# Line 44  push_config_05_helpdesk_phone() Line 44  push_config_05_helpdesk_phone()
44   local value   local value
45    
46   value=$(mysqldo "select client_locations.helpdesk_phone from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'")   value=$(mysqldo "select client_locations.helpdesk_phone from client_serials inner join client_locations on client_serials.location=client_locations.location where serial='${serial}'")
47   control_client "${serial}" set helpdesk.phone "${value}"   control_client "${serial}" set helpdesk.phone "\"${value}\""
48  }  }

Legend:
Removed from v.2883  
changed lines
  Added in v.2884