From: hickert Date: Wed, 28 Apr 2010 08:34:21 +0000 (+0000) Subject: Fixed problem with copy and paste. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fecf022925a71143947108577259d804743de5b;p=gosa.git Fixed problem with copy and paste. -This account wasn't copyable git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17898 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/webdav/personal/connectivity/webdav/class_webdavAccount.inc b/gosa-plugins/webdav/personal/connectivity/webdav/class_webdavAccount.inc index 3af4185d9..9cf3a2765 100644 --- a/gosa-plugins/webdav/personal/connectivity/webdav/class_webdavAccount.inc +++ b/gosa-plugins/webdav/personal/connectivity/webdav/class_webdavAccount.inc @@ -127,7 +127,6 @@ class webdavAccount extends plugin /* Save to LDAP */ function save() { - if($this->acl_is_createable()){ plugin::save(); /* Write back to ldap */ @@ -138,26 +137,26 @@ class webdavAccount extends plugin /* Log last action */ if($this->initially_was_account){ - new log("modify","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + new log("modify","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); }else{ - new log("create","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); + new log("create","users/".get_class($this),$this->dn,array_keys($this->attrs),$ldap->get_error()); } if (!$ldap->success()){ - msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_MOD, get_class())); + msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, LDAP_MOD, get_class())); } /* Optionally execute a command after we're done */ if ($this->initially_was_account == $this->is_account){ - if ($this->is_modified){ - $this->handle_post_events("modify",array("uid" => $this->uid)); - } + if ($this->is_modified){ + $this->handle_post_events("modify",array("uid" => $this->uid)); + } } else { - $this->handle_post_events("add",array("uid" => $this->uid)); + $this->handle_post_events("add",array("uid" => $this->uid)); } - } } + /* Return plugin informations for acl handling #FIXME This is only an enable/disable checkbox for this account, there is possibly a better solution available later */ static function plInfo()