Skip to content

Commit b05d8d6

Browse files
committed
Revert "Quick&Dirty fix following change Core side"
This reverts commit 00734ab.
1 parent 1c54091 commit b05d8d6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

inc/deploygroup.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,13 +640,10 @@ public static function getTargetsForGroup($groups_id, $use_cache = false)
640640
$results[$tmpgroup['items_id']] = $tmpgroup['items_id'];
641641
}
642642
} else {
643-
$bkp_interface = $_SESSION['glpiactiveprofile']['interface'];
644-
$_SESSION['glpiactiveprofile']['interface'] = 'central';
645643
$results = PluginGlpiinventoryDeployGroup_Dynamicdata::getTargetsByGroup(
646644
$group,
647645
$use_cache
648646
);
649-
$_SESSION['glpiactiveprofile']['interface'] = $bkp_interface;
650647
}
651648
return $results;
652649
}

0 commit comments

Comments
 (0)