From e9da380d0667e173c7e92bfd0eeed87068045939 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 19 Aug 2005 10:31:56 +0000 Subject: [PATCH] Fixed storage path for macros git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1189 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/macro/class_gofonMacroManagement.inc | 2 +- plugins/gofon/macro/tabs_macros.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc index 40f65bfc3..5f1472abd 100755 --- a/plugins/gofon/macro/class_gofonMacroManagement.inc +++ b/plugins/gofon/macro/class_gofonMacroManagement.inc @@ -439,7 +439,7 @@ class gofonMacro extends plugin } /* Generate macro list */ - $res= get_list($this->ui->subtreeACL, "(&(cn=$regex)(objectClass=goFonMacro))", FALSE, "ou=macros,ou=asterisk,ou=config,".$base, array("*"), TRUE); + $res= get_list($this->ui->subtreeACL, "(&(cn=$regex)(objectClass=goFonMacro))", FALSE, "ou=macros,ou=asterisk,ou=configs,ou=systems,".$base, array("*"), TRUE); $this->macros= $res; /* NEW LIST MANAGMENT diff --git a/plugins/gofon/macro/tabs_macros.inc b/plugins/gofon/macro/tabs_macros.inc index cc10e4c83..94c48ad7c 100755 --- a/plugins/gofon/macro/tabs_macros.inc +++ b/plugins/gofon/macro/tabs_macros.inc @@ -14,7 +14,7 @@ class macrotabs extends tabs /* Check for new 'dn', in order to propagate the 'dn' to all plugins */ - $new_dn= "cn=".$baseobject->cn.",ou=macros,ou=asterisk,ou=config,".$baseobject->base; + $new_dn= "cn=".$baseobject->cn.",ou=macros,ou=asterisk,ou=configs,ou=systems,".$baseobject->base; /* Move group? */ if ($this->dn != $new_dn){ -- 2.30.2