Code

Removed pass-by-reference
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Apr 2008 08:11:58 +0000 (08:11 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 21 Apr 2008 08:11:58 +0000 (08:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10577 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc
gosa-plugins/goto/admin/applications/class_applicationManagement.inc
gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc

index f0bcda8eedc8c5e2e0d01a63c12b690dbb1a5f33..95c2a83084743025a2932626d77d61d96bb8fbf6 100644 (file)
@@ -1193,7 +1193,7 @@ class faiManagement extends plugin
     if($this->start_pasting_copied_objects && $this->CopyPasteHandler->entries_queued()){
 
       /* Get dialog */
-      $this->CopyPasteHandler->SetVar("parent",&$this);
+      $this->CopyPasteHandler->SetVar("parent",$this);
       $data = $this->CopyPasteHandler->execute();
 
       FAI::save_release_changes_now();
index bd0ebb2e29abb73f5fd37e6b293ad5c6c9aba122..6a3cb0a89741ae33aa1e2be44660662173d63fcf 100644 (file)
@@ -614,7 +614,7 @@ class applicationManagement extends plugin
 
       /* Get dialog */
       $this->CopyPasteHandler->SetVar("base",$this->app_base);
-      $this->CopyPasteHandler->SetVar("parent",&$this);
+      $this->CopyPasteHandler->SetVar("parent",$this);
       $data = $this->CopyPasteHandler->execute();
 
       /* Return dialog data */
index 94b04156914cae602e69af069683bcad1ed8688d..fc6f056068617fce33bad440ecf1db9657b5f94e 100644 (file)
@@ -623,7 +623,7 @@ class mimetypeManagement extends plugin
 
       /* Get dialog */
       $this->CopyPasteHandler->SetVar("base",preg_replace("/^".normalizePreg(get_ou("mimetypeou"))."/","",$this->mime_base));
-      $this->CopyPasteHandler->SetVar("parent",&$this);
+      $this->CopyPasteHandler->SetVar("parent",$this);
       $data = $this->CopyPasteHandler->execute();
 
       /* Return dialog data */