2011-07-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/modificar_agente.php: Changed deprecated function get_user_groups() to users_get_groups(). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8b53e84ce2
commit
2af5d2e902
|
@ -1,3 +1,8 @@
|
|||
2011-07-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* godmode/agentes/modificar_agente.php: Changed deprecated function
|
||||
get_user_groups() to users_get_groups().
|
||||
|
||||
2011-07-08 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/functions_agents.php: Fixed agents_get_group_agents()
|
||||
|
|
|
@ -262,7 +262,7 @@ else {
|
|||
FROM tagente
|
||||
WHERE id_grupo IN (%s)
|
||||
%s',
|
||||
implode (',', array_keys (get_user_groups ())),
|
||||
implode (',', array_keys (users_get_groups ())),
|
||||
$search_sql);
|
||||
|
||||
$total_agents = db_get_sql ($sql);
|
||||
|
@ -274,7 +274,7 @@ else {
|
|||
WHERE id_grupo IN (%s)
|
||||
%s
|
||||
ORDER BY %s %s LIMIT %d, %d',
|
||||
implode (',', array_keys (get_user_groups ())),
|
||||
implode (',', array_keys (users_get_groups ())),
|
||||
$search_sql, $order['field'], $order['order'], $offset, $config["block_size"]);
|
||||
break;
|
||||
case "postgresql":
|
||||
|
@ -283,7 +283,7 @@ else {
|
|||
WHERE id_grupo IN (%s)
|
||||
%s
|
||||
ORDER BY %s %s LIMIT %d OFFSET %d',
|
||||
implode (',', array_keys (get_user_groups ())),
|
||||
implode (',', array_keys (users_get_groups ())),
|
||||
$search_sql, $order['field'], $order['order'], $config["block_size"], $offset);
|
||||
break;
|
||||
case "oracle":
|
||||
|
@ -295,7 +295,7 @@ else {
|
|||
WHERE id_grupo IN (%s)
|
||||
%s
|
||||
ORDER BY %s %s',
|
||||
implode (',', array_keys (get_user_groups ())),
|
||||
implode (',', array_keys (users_get_groups ())),
|
||||
$search_sql, $order['field'], $order['order']);
|
||||
$sql = oracle_recode_query ($sql, $set);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue