summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f523af0)
raw | patch | inline | side by side (parent: f523af0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2005 14:37:26 +0000 (14:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2005 14:37:26 +0000 (14:37 +0000) |
Workaround, : First save the entry again than remove phone account
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1180 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1180 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history |
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index 5ab022af63a3c54d0973ac5fffb8dd0bf8407445..d579878fba45dc57d53012f73f8f7e9bdb3dae03 100644 (file)
function execute()
{
+
/* force postmodify event, to restart phones */
$this->parent->by_object['user']->is_modified=TRUE;
}
unset($this->attrs['macro']) ;
+ $this->attrs['goFonForwarding']=array();
+
$this->generate_mysql_entension_entries(true);
if($this->attrs['goFonMacro']==""){
$this->attrs['goFonMacro']=array();
}
+
/* Write back to ldap */
$ldap= $this->config->get_ldap_link();
$ldap->cd($this->dn);