From 311fe2584ff36fbb24e4e77dda3d9c4f0c5135a7 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 24 Sep 2007 05:49:01 +0000 Subject: [PATCH] Fixed error: Used $this while not in class context git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7378 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 2 +- plugins/admin/groups/class_groupApplication.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/functions.inc b/include/functions.inc index ab7915985..506fa4b75 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -2569,7 +2569,7 @@ function change_password ($dn, $password, $mode=0, $hash= "") } else { /* Find postmodify entries for this class */ - $command= $this->config->search("password", "POSTMODIFY",array('menu')); + $command= $config->search("password", "POSTMODIFY",array('menu')); if ($command != ""){ /* Walk through attribute list */ diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index b4312c7de..faabcfcb4 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -45,7 +45,7 @@ class appgroup extends plugin { /* Check if we have relase mangement enabled and prepare group application for release management */ - $tmp = $this->config->search("faiManagement", "CLASS"); + $tmp = $config->search("faiManagement", "CLASS"); if(!empty($tmp)){ $this->enableReleaseManagement = true; $this->objectclasses [] = "FAIreleaseTag"; -- 2.30.2