index 9d13b8cc0e4146a44a474203e1a483abfa26da26..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"));
}
$display.= $output;
/* Store changes in session */
- $_SESSION['ogroup']= $ogroup;
+ session::set('ogroup',$ogroup);
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: