Code

Fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Jan 2008 13:31:20 +0000 (13:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Jan 2008 13:31:20 +0000 (13:31 +0000)
"only variables should be passed by reference" hopefully

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8220 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 7f0774e147013a5cfa8c5aea84071d3b7b85f679..9ecd1fc8b89ba0a4ec63091f3137adcc5bdd49b3 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, get_userinfo()));
+       session::set('dfsManagment',new dfsManagment($config, $ui));
      }
      $dfsManagment  = session::get('dfsManagment');
      $output = $dfsManagment->execute();
index d71f29c520554194815e887a5fadb65be611893f..992020d5361cb2cf64fd30fe69aad1e2969fa814 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, get_userinfo()));
+               session::set('applicationManagement',new applicationManagement ($config, $ui));
        }
        $applicationManagement = session::get('applicationManagement');
        $applicationManagement->save_object();
index fdb3a290766fb1c950cb61bdb6f8f695cd93b9fe..c4635a8247a0df5b00aa19835e4f55335a1b3061 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, get_userinfo()));
+    session::set('groupManagement',new groupManagement ($config, $ui));
   }
   $groupManagement = session::get('groupManagement');
   $groupManagement->save_object();
index 98bc8e581e661da7880e032f78de0390141cc0d1..5d7aed1f962e2533930811967199f371bf9af1cb 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, get_userinfo()));
+                       session::set('MimeTypeManagement',new mimetypeManagement ($config, $ui));
                }
 
                /* Get object */
index 2c13f486a5c25ccbe24b5370a833c876cd341aef..89fb0f17cdd7856ddd63e12cd21ae32b6e535f4e 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, get_userinfo());
+    $userManagement= new userManagement ($config, $ui);
     $userManagement->set_acl_category("users");
     session::set('userManagement',$userManagement);
   }
index 712426af3f3e802490e9e9326032c4a89e8df6fa..4cd62bf9eecd5af80c6db801828a58406d83158e 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, get_userinfo()));
+    session::set('macroManagment',new goFonMacro ($config, $ui));
   }
 
   /* Get object */