Code

Fixed error: Used $this while not in class context
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 05:49:01 +0000 (05:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 05:49:01 +0000 (05:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7378 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc
plugins/admin/groups/class_groupApplication.inc

index ab7915985e485af9f7962b93f0cae7ce347c13ed..506fa4b758be9a67adc4bf787f37dc0fb6e2573e 100644 (file)
@@ -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 */
index b4312c7de15a91ecbe8090c90d256113ca1cfeab..faabcfcb495d79ee0720a83d23d2de0cfb63854d 100644 (file)
@@ -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";