Code

Updated class creation for some lists.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Jan 2008 13:15:52 +0000 (13:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Jan 2008 13:15:52 +0000 (13:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8218 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/addons/godfs/main.inc
gosa-core/plugins/admin/applications/main.inc
gosa-core/plugins/admin/groups/main.inc
gosa-core/plugins/admin/mimetypes/main.inc
gosa-core/plugins/admin/users/main.inc
gosa-core/plugins/gofon/macro/main.inc

index 4ade21848ac5d872a3d63f83e51fb2876d444111..7f0774e147013a5cfa8c5aea84071d3b7b85f679 100644 (file)
@@ -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();
index 4595ef7c2e5c4293f4d91a3822a57068b3ff305d..d71f29c520554194815e887a5fadb65be611893f 100644 (file)
@@ -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();
index e86d46c926fd5a812add42caa4a776e7cd18135c..fdb3a290766fb1c950cb61bdb6f8f695cd93b9fe 100644 (file)
@@ -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();
index 36059d99e475d6777a86adf9624db6ca26da4767..98bc8e581e661da7880e032f78de0390141cc0d1 100755 (executable)
@@ -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 */
index ab7f48e363c31e396ab5f61574b07d72114f2ab4..2c13f486a5c25ccbe24b5370a833c876cd341aef 100644 (file)
@@ -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);
   }
index 106c3db735d68cd416196c8f2998b9783904f125..712426af3f3e802490e9e9326032c4a89e8df6fa 100755 (executable)
@@ -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 */