Code

Removed a couple of left over call time references
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Feb 2008 09:01:04 +0000 (09:01 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Feb 2008 09:01:04 +0000 (09:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9094 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc
gosa-plugins/fai/admin/fai/class_faiHook.inc
gosa-plugins/fai/admin/fai/class_faiPackage.inc
gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
gosa-plugins/fai/admin/fai/class_faiScript.inc
gosa-plugins/fai/admin/fai/class_faiTemplate.inc
gosa-plugins/fai/admin/fai/class_faiVariable.inc
gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
gosa-plugins/mail/personal/mail/sieve/class_parser.inc

index 3527494d88e01990e729d981e3ed15fb021018b2..acdcbfe085bdf04bd0e926118a3cac885ef7c76f 100644 (file)
@@ -358,7 +358,7 @@ class plugin
     }
 
     /* Handle tagging */
-    $this->tag_attrs(&$this->attrs);
+    $this->tag_attrs($this->attrs);
   }
 
 
@@ -964,7 +964,7 @@ class plugin
     }
   }
 
-  function tag_attrs($at, $dn= "", $tag= "", $show= false)
+  function tag_attrs(&$at, $dn= "", $tag= "", $show= false)
   {
     /* No dn? Self-operation... */
     if ($dn == ""){
@@ -1004,14 +1004,14 @@ class plugin
     }
 
     /* Remove tags that may already be here... */
-    remove_objectClass("gosaAdministrativeUnitTag", &$at);
+    remove_objectClass("gosaAdministrativeUnitTag", $at);
     if (isset($at['gosaUnitTag'])){
         unset($at['gosaUnitTag']);
     }
 
     /* Set tag? */
     if ($tag != ""){
-      add_objectClass("gosaAdministrativeUnitTag", &$at);
+      add_objectClass("gosaAdministrativeUnitTag", $at);
       $at['gosaUnitTag']= $tag;
     }
   }
index f1fec85fcca50681474f10bb2c4d8609f81ac458..6067bfb9b6d8887065fda469684f0d94c3c0e1cc 100644 (file)
@@ -532,7 +532,7 @@ class faiHook extends plugin
       }
 
       /* Tag object */
-      $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+      $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
 
       if($obj['status'] == "delete"){
         FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
index 277cf664685c64b67209284c5aa301c534f70811..c1b4b3f613744b08a09c9ba54b85b9665f442fba 100644 (file)
@@ -524,7 +524,7 @@ class faiPackage extends plugin
         $pkgdn =  "FAIvariable=".$name.",".$this->dn;
 
        /* Tag object */
-       $this->tag_attrs(&$pkgattrs, $pkgdn, $this->gosaUnitTag);
+       $this->tag_attrs($pkgattrs, $pkgdn, $this->gosaUnitTag);
 
         if(in_array($pkgattrs['FAIvariableType'],array("boolean","multiselect","password","select","string","text"))){
           FAI::prepare_to_save_FAI_object($pkgdn,$pkgattrs);
index 99417316ef67624c8a4e2bbec8a979b8e1f565ac..d463f2a222555860700990970538121feca0e694 100644 (file)
@@ -451,7 +451,7 @@ class faiPartitionTable extends plugin
       }
 
       /* Tag object */
-      $this->tag_attrs(&$disk_attrs, $disk_dn, $this->gosaUnitTag);
+      $this->tag_attrs($disk_attrs, $disk_dn, $this->gosaUnitTag);
 
       if($disk['status'] == "delete"){
         FAI::prepare_to_save_FAI_object($disk_dn,array(),true);
@@ -496,7 +496,7 @@ class faiPartitionTable extends plugin
         }
 
        /* Tag object */
-       $this->tag_attrs(&$partition_attrs, $partition_dn, $this->gosaUnitTag);
+       $this->tag_attrs($partition_attrs, $partition_dn, $this->gosaUnitTag);
 
         if($partition['status'] == "delete"){
           FAI::prepare_to_save_FAI_object($partition_dn,array(),true);
index d47ed33c3decee0e89045fea91066c6086163f9d..87592976cbb1f4d5212bd86a45a44b165b872604 100644 (file)
@@ -582,7 +582,7 @@ class faiScript extends plugin
       }
 
       /* Tag object */
-      $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+      $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
 
       if($obj['status'] == "delete"){
         FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
index 50add1a379a38ff3f827b56b257fcea2095e7979..863ee2b3e877252db0be0d0c9543cebdacf9d167 100644 (file)
@@ -501,7 +501,7 @@ class faiTemplate extends plugin
       }
 
       /* Tag object */
-      $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+      $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
 
       if($obj['status'] == "delete"){
         FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
index 7229e3634c56fc752078220ed95e0910109a1e5d..aea362f0582d4e9776785b49b0057abc8d545245 100644 (file)
@@ -388,7 +388,7 @@ class faiVariable extends plugin
       }
 
       /* Tag object */
-      $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+      $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
       
       if($obj['status'] == "delete"){
         FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
index a51a11622c52a798d42e612548767793d6d66a66..f18076844baa6fa707e616077e74cb710c4758d8 100644 (file)
@@ -439,7 +439,7 @@ class appgroup extends plugin
     $all = $this->_get_all_entries();
     $key = $this->_get_release_key($release);
     if(isset($all[$key]) && count($all[$key]['ENTRIES'])){
-      $res = $this->_get_all_entries(TRUE,TRUE,&$all[$key]['ENTRIES']);
+      $res = $this->_get_all_entries(TRUE,TRUE,$all[$key]['ENTRIES']);
       return($res);
     } 
     return(array());
@@ -914,7 +914,7 @@ class appgroup extends plugin
       @param  Boolean   $add_tags  If TRUE, OPEN/CLOSE Tags will be appended.
       @param  &Array    Start here, Pointer to an array.
    */ 
-  function _get_all_entries($add_tags = FALSE, $skip_release = FALSE, $cur = NULL)
+  function _get_all_entries($add_tags = FALSE, $skip_release = FALSE, &$cur = NULL)
   {
     $ret = array();
     if($cur == NULL){
@@ -946,7 +946,7 @@ class appgroup extends plugin
       if(!$add_tags){
         $ret[$tmp['UNIQID']] = &$cur[$key];
         if(isset($entry['ENTRIES']) && count($entry['ENTRIES'])){
-          $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,&$cur[$key]['ENTRIES']));
+          $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,$cur[$key]['ENTRIES']));
         }
       }else{
       
@@ -966,7 +966,7 @@ class appgroup extends plugin
 
             if($add){
               $ret[] = array("TYPE" => "OPEN", "PARENT" => $entry['PARENT']);
-              $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,&$cur[$key]['ENTRIES']));
+              $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,$cur[$key]['ENTRIES']));
               $ret[] = array("TYPE" => "CLOSE" , "PARENT" => $entry['PARENT']);
             }
           }
index 345895231f2ec801cd55107e00153f68ec004406..5326c2b37628e133d50cec03c838d22830e8b639 100644 (file)
@@ -189,7 +189,7 @@ class Parser
 
        function arguments_($parent_id, &$semantics)
        {
-               while ($this->argument_($parent_id, &$semantics))
+               while ($this->argument_($parent_id, $semantics))
                        ;
 
                if ($this->status_ == true)
@@ -215,14 +215,14 @@ class Parser
                        return $this->success_();
                }
 
-               return $this->stringlist_($parent_id, &$semantics);
+               return $this->stringlist_($parent_id, $semantics);
        }
 
        function stringlist_($parent_id, &$semantics)
        {
                if (!$this->scanner_->nextTokenIs('left-bracket'))
                {
-                       return $this->string_($parent_id, &$semantics);
+                       return $this->string_($parent_id, $semantics);
                }
 
                $token = $this->scanner_->nextToken();
@@ -234,7 +234,7 @@ class Parser
 
                while ($token['class'] != 'right-bracket')
                {
-                       if (!$this->string_($parent_id, &$semantics))
+                       if (!$this->string_($parent_id, $semantics))
                        {
                                return $this->status_;
                        }