X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_acl.inc;h=6e7044c7dcb4372dc0a59f9e86f7381a3e232984;hb=77834e27646c6a9e5ee2d4097d004ab0deb1f430;hp=23db48299827c7fe3728761250d65be0ab92fc14;hpb=24332d07bc0fc35125dfc2f5e8bd8524c557602b;p=gosa.git diff --git a/include/class_acl.inc b/include/class_acl.inc index 23db48299..6e7044c7d 100644 --- a/include/class_acl.inc +++ b/include/class_acl.inc @@ -1033,7 +1033,7 @@ class acl extends plugin $ldap->modify ($this->attrs); if(count($this->attrs)){ - @log::log("modify","acls/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + new log("modify","acls/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); } show_ldap_error($ldap->get_error(), sprintf(_("Saving ACLs with dn '%s' failed."),$this->dn)); @@ -1056,7 +1056,7 @@ class acl extends plugin $this->cleanup(); $ldap->modify ($this->attrs); - @log::log("remove","acls/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + new log("remove","acls/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); /* Optionally execute a command after we're done */ $this->handle_post_events("remove",array("uid" => $this->uid));