summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a29e8c0)
raw | patch | inline | side by side (parent: a29e8c0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Apr 2010 08:34:14 +0000 (08:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 28 Apr 2010 08:34:14 +0000 (08:34 +0000) |
-This account wasn't copyable
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17897 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17897 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/pptp/personal/connectivity/pptp/class_pptpAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/pptp/personal/connectivity/pptp/class_pptpAccount.inc b/gosa-plugins/pptp/personal/connectivity/pptp/class_pptpAccount.inc
index ebbf600a6249dcc9d0ba808fbf3ddb78f3f7bdab..3bc07fea6829db849b1a28a4411d3741d3de36a8 100644 (file)
/* Save to LDAP */
function save()
{
- if($this->acl_is_createable()){
plugin::save();
/* Write back to ldap */
/* 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, 0, get_class()));
+ msg_dialog::display(_("LDAP error"), msgPool::ldaperror($ldap->get_error(), $this->dn, 0, 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));
}
- }
}