Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/citrix/storefront-cron.in

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

revision 2525 by niro, Mon Sep 14 13:49:29 2015 UTC revision 2641 by niro, Thu Oct 8 10:23:23 2015 UTC
# Line 87  else Line 87  else
87   id=$(mysqldo "select id from values_storefront_session where session='${session}';")   id=$(mysqldo "select id from values_storefront_session where session='${session}';")
88   if [[ -z ${id} ]]   if [[ -z ${id} ]]
89   then   then
90   mysqldo "insert into values_storefront_session (session,description,enabled) values('${session}','${description}','1');"   mysqldo "insert into values_storefront_session (session,description,store,enabled) values('${session}','${description}','${STOREFRONT_STORE}','1');"
91   else   else
92   mysqldo "update values_storefront_session set session='${session}',description='${description}',enabled='1' where id='${id}';"   mysqldo "update values_storefront_session set session='${session}',description='${description}',store='${STOREFRONT_STORE}',enabled='1' where id='${id}';"
93   fi   fi
94    
95   # get and save id   # get and save id

Legend:
Removed from v.2525  
changed lines
  Added in v.2641