You are here

function _weather_es_conf_update in Weather_es 6.3

Same name and namespace in other branches
  1. 7 weather_es.module \_weather_es_conf_update()

Update an old user configuration

@author jmsirvent

1 call to _weather_es_conf_update()
weather_es_form_submit in ./weather_es.module
@author jmsirvent

File

./weather_es.module, line 811

Code

function _weather_es_conf_update($wid, $cit_cod, $lan, $inf_typ, $inf_amo) {
  db_query("UPDATE {weather_es_conf} SET lan = '%s', inf_typ = '%s', inf_amo = '%s' WHERE wid = %d AND cit_cod = %d", $lan, $inf_typ, $inf_amo, $wid, $cit_cod);
}