From: hickert Date: Fri, 4 Jan 2008 13:31:20 +0000 (+0000) Subject: Fixed X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f2051a79f2d56238cfc24d1d2d7dbe7f6123c1ce;p=gosa.git Fixed "only variables should be passed by reference" hopefully git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8220 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/addons/godfs/main.inc b/gosa-core/plugins/addons/godfs/main.inc index 7f0774e14..9ecd1fc8b 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, get_userinfo())); + session::set('dfsManagment',new dfsManagment($config, $ui)); } $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 d71f29c52..992020d53 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, get_userinfo())); + session::set('applicationManagement',new applicationManagement ($config, $ui)); } $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 fdb3a2907..c4635a824 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, get_userinfo())); + session::set('groupManagement',new groupManagement ($config, $ui)); } $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 98bc8e581..5d7aed1f9 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, get_userinfo())); + session::set('MimeTypeManagement',new mimetypeManagement ($config, $ui)); } /* Get object */ diff --git a/gosa-core/plugins/admin/users/main.inc b/gosa-core/plugins/admin/users/main.inc index 2c13f486a..89fb0f17c 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, get_userinfo()); + $userManagement= new userManagement ($config, $ui); $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 712426af3..4cd62bf9e 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, get_userinfo())); + session::set('macroManagment',new goFonMacro ($config, $ui)); } /* Get object */