mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php: Fixed propagate parameter in function groups_get_parent. * extensions/update_manager.php: Check UM is installed. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
6573f7a72b
commit
d6b8d71d0a
@ -1,3 +1,9 @@
|
|||||||
|
2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
|
* include/functions_groups.php: Fixed propagate parameter in
|
||||||
|
function groups_get_parent.
|
||||||
|
* extensions/update_manager.php: Check UM is installed.
|
||||||
|
|
||||||
2012-12-11 Sergio Martin <sergio.martin@artica.es>
|
2012-12-11 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* include/functions_network_components.php: Improve
|
* include/functions_network_components.php: Improve
|
||||||
|
@ -97,9 +97,11 @@ function pandora_update_manager_install () {
|
|||||||
|
|
||||||
load_update_manager_lib ();
|
load_update_manager_lib ();
|
||||||
|
|
||||||
|
if (isset($config['update_manager_installed'])) {
|
||||||
if ($config['update_manager_installed'] == 1) {
|
if ($config['update_manager_installed'] == 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* SQL installation */
|
/* SQL installation */
|
||||||
switch ($config['dbtype']) {
|
switch ($config['dbtype']) {
|
||||||
|
@ -269,8 +269,9 @@ function groups_get_parents($parent, $onlyPropagate = false, $groups = null) {
|
|||||||
if ($group['id_grupo'] == 0) {
|
if ($group['id_grupo'] == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($group['id_grupo'] == $parent) && ($group['propagate'] || !$onlyPropagate)) {
|
if (($group['id_grupo'] == $parent) && ($group['propagate'] || !$onlyPropagate)) {
|
||||||
$return = $return + array($group['id_grupo'] => $group) + groups_get_parents($group['parent'], $groups);
|
$return = $return + array($group['id_grupo'] => $group) + groups_get_parents($group['parent'], $onlyPropagate, $groups);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user