index 701087ab9bbc811c780118ed02f19e13bc7b69f4..18c8fde193ef2dd27b1febbb737c9ed4277715e7 100644 (file)
if (!$remove_lock){
/* Create object object on demand */
if (!session::is_set('ogroup') || (isset($_GET['reset']) && $_GET['reset'] == 1)){
- $_SESSION['ogroup']= new ogroupManagement ($config);
+ session::set('ogroup',new ogroupManagement ($config));
}
- $ogroup= $_SESSION['ogroup'];
+ $ogroup = session::get('ogroup');
/* Execute formular */
$ogroup->save_object();
_("Object groups"),
"<img alt=\"\" align=\"middle\" src=\"".
get_template_path('images/closedlock.png').
- "\"> ".@LDAP::fix($_SESSION['objectinfo']));
+ "\"> ".@LDAP::fix(session::get('objectinfo')));
} else {
$display= print_header(get_template_path('images/ogroup.png'), _("Object groups"));
}