From: hickert Date: Fri, 4 Jan 2008 13:15:52 +0000 (+0000) Subject: Updated class creation for some lists. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=94b546598f1da6d07cac0293672cb95df3431d55;p=gosa.git Updated class creation for some lists. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8218 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/addons/godfs/main.inc b/gosa-core/plugins/addons/godfs/main.inc index 4ade21848..7f0774e14 100644 --- a/gosa-core/plugins/addons/godfs/main.inc +++ b/gosa-core/plugins/addons/godfs/main.inc @@ -10,7 +10,7 @@ # create dfsManagment object if (!session::is_set('dfsManagment') || (isset($_GET['reset']) && $_GET['reset'] == 1)) { - session::set('dfsManagment',new dfsManagment($config, session::get('ui'))); + session::set('dfsManagment',new dfsManagment($config, get_userinfo())); } $dfsManagment = session::get('dfsManagment'); $output = $dfsManagment->execute(); diff --git a/gosa-core/plugins/admin/applications/main.inc b/gosa-core/plugins/admin/applications/main.inc index 4595ef7c2..d71f29c52 100644 --- a/gosa-core/plugins/admin/applications/main.inc +++ b/gosa-core/plugins/admin/applications/main.inc @@ -28,7 +28,7 @@ if ($remove_lock){ } else { /* Create applicationManagement object on demand */ if (!session::is_set('applicationManagement') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - session::set('applicationManagement',new applicationManagement ($config, session::get('ui'))); + session::set('applicationManagement',new applicationManagement ($config, get_userinfo())); } $applicationManagement = session::get('applicationManagement'); $applicationManagement->save_object(); diff --git a/gosa-core/plugins/admin/groups/main.inc b/gosa-core/plugins/admin/groups/main.inc index e86d46c92..fdb3a2907 100644 --- a/gosa-core/plugins/admin/groups/main.inc +++ b/gosa-core/plugins/admin/groups/main.inc @@ -28,7 +28,7 @@ if ($remove_lock){ } else { /* Create groupManagement object on demand */ if (!session::is_set('groupManagement') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - session::set('groupManagement',new groupManagement ($config, session::get('ui'))); + session::set('groupManagement',new groupManagement ($config, get_userinfo())); } $groupManagement = session::get('groupManagement'); $groupManagement->save_object(); diff --git a/gosa-core/plugins/admin/mimetypes/main.inc b/gosa-core/plugins/admin/mimetypes/main.inc index 36059d99e..98bc8e581 100755 --- a/gosa-core/plugins/admin/mimetypes/main.inc +++ b/gosa-core/plugins/admin/mimetypes/main.inc @@ -29,7 +29,7 @@ if ($remove_lock){ /* Create MimeTypeManagement object on demand */ if (!session::is_set('MimeTypeManagement') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - session::set('MimeTypeManagement',new mimetypeManagement ($config, session::get('ui'))); + session::set('MimeTypeManagement',new mimetypeManagement ($config, get_userinfo())); } /* Get object */ diff --git a/gosa-core/plugins/admin/users/main.inc b/gosa-core/plugins/admin/users/main.inc index ab7f48e36..2c13f486a 100644 --- a/gosa-core/plugins/admin/users/main.inc +++ b/gosa-core/plugins/admin/users/main.inc @@ -29,7 +29,7 @@ if ($remove_lock){ /* Create usermanagement object on demand */ if (!session::is_set('userManagement') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - $userManagement= new userManagement ($config, session::get('ui')); + $userManagement= new userManagement ($config, get_userinfo()); $userManagement->set_acl_category("users"); session::set('userManagement',$userManagement); } diff --git a/gosa-core/plugins/gofon/macro/main.inc b/gosa-core/plugins/gofon/macro/main.inc index 106c3db73..712426af3 100755 --- a/gosa-core/plugins/gofon/macro/main.inc +++ b/gosa-core/plugins/gofon/macro/main.inc @@ -29,7 +29,7 @@ if ($remove_lock){ /* Create macroManagment object on demand */ if (!session::is_set('macroManagment') || (isset($_GET['reset']) && $_GET['reset'] == 1)){ - session::set('macroManagment',new goFonMacro ($config, session::get('ui'))); + session::set('macroManagment',new goFonMacro ($config, get_userinfo())); } /* Get object */