From fdc1c38129625de17382e36b8ab20726f8cb1bb9 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 27 Oct 2005 11:51:06 +0000 Subject: [PATCH] Added Sorting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1703 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiHook.inc | 2 ++ plugins/admin/fai/class_faiTemplate.inc | 2 ++ plugins/admin/fai/class_faiVariable.inc | 2 ++ 3 files changed, 6 insertions(+) diff --git a/plugins/admin/fai/class_faiHook.inc b/plugins/admin/fai/class_faiHook.inc index 0cc84fbeb..ca376017c 100644 --- a/plugins/admin/fai/class_faiHook.inc +++ b/plugins/admin/fai/class_faiHook.inc @@ -74,6 +74,7 @@ class faiHook extends plugin } $this->SubObjects[$object['cn'][0]]['FAIscript'] = addslashes($this->readBinary("FAIscript",$object['dn'])); } + ksort($this->SubObjects); } } @@ -141,6 +142,7 @@ class faiHook extends plugin $this->is_dialog=false; unset($this->dialog); $this->dialog=NULL; + ksort($this->SubObjects); } } diff --git a/plugins/admin/fai/class_faiTemplate.inc b/plugins/admin/fai/class_faiTemplate.inc index 19273b569..79f08a61c 100644 --- a/plugins/admin/fai/class_faiTemplate.inc +++ b/plugins/admin/fai/class_faiTemplate.inc @@ -72,6 +72,7 @@ class faiTemplate extends plugin $this->SubObjects[$object['cn'][0]]['status'] = "edited"; $this->SubObjects[$object['cn'][0]]['dn'] = $object['dn']; } + ksort($this->SubObjects); } } @@ -129,6 +130,7 @@ class faiTemplate extends plugin $this->is_dialog=false; unset($this->dialog); $this->dialog=NULL; + ksort($this->SubObjects); } } diff --git a/plugins/admin/fai/class_faiVariable.inc b/plugins/admin/fai/class_faiVariable.inc index 8e12554b8..2e17bb2d0 100644 --- a/plugins/admin/fai/class_faiVariable.inc +++ b/plugins/admin/fai/class_faiVariable.inc @@ -70,6 +70,7 @@ class faiVariable extends plugin $this->SubObjects[$object['cn'][0]]['status'] = "edited"; $this->SubObjects[$object['cn'][0]]['dn'] = $object['dn']; } + ksort($this->SubObjects); } } @@ -127,6 +128,7 @@ class faiVariable extends plugin $this->is_dialog=false; unset($this->dialog); $this->dialog=NULL; + ksort($this->SubObjects); } } -- 2.30.2