From: cajus Date: Mon, 21 Apr 2008 08:11:58 +0000 (+0000) Subject: Removed pass-by-reference X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=01c082f098a7163ea516260e6c134381381b6cc6;p=gosa.git Removed pass-by-reference git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10577 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index f0bcda8ee..95c2a8308 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -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(); diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc index bd0ebb2e2..6a3cb0a89 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc @@ -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 */ diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc index 94b041569..fc6f05606 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc @@ -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 */