From 53a6add628a42c7a8b6b3085beaf57f9d8f65b6f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 15 Feb 2011 13:42:04 +0000 Subject: [PATCH] docu update and remove not longer used functionality to store custom fields, done now via so_sql_cf::save() --- addressbook/inc/class.addressbook_so.inc.php | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/addressbook/inc/class.addressbook_so.inc.php b/addressbook/inc/class.addressbook_so.inc.php index a313c22f03..54a3a675f0 100755 --- a/addressbook/inc/class.addressbook_so.inc.php +++ b/addressbook/inc/class.addressbook_so.inc.php @@ -179,9 +179,9 @@ class addressbook_so var $total; /** - * storage object: sql (socontacts_sql) or ldap (so_ldap) backend class + * storage object: sql (addressbook_sql) or ldap (addressbook_ldap) backend class * - * @var socontacts_sql + * @var addressbook_sql */ var $somain; /** @@ -199,7 +199,7 @@ class addressbook_so /** * custom fields backend * - * @var so_sql + * @var addressbook_sql */ var $soextra; var $sodistrib_list; @@ -512,11 +512,6 @@ class addressbook_so } if($error_nr) return $error_nr; - // save customfields, if not already done by somain->save(); - if(!($this->somain instanceof addressbook_sql)) - { - $this->soextra->save_customfields($this->data2db($contact)); - } return false; // no error }