diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index ebfafa698b7..e51a3358614 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -98,6 +98,17 @@ class Contact extends CommonObject public $code; public $email; + + /** + * @var array array of socialnetworks + */ + public $socialnetworks; + + /** + * Skype username + * @var string + * @deprecated + */ public $skype; public $photo; public $jabberid; @@ -122,6 +133,10 @@ class Contact extends CommonObject // END MODULEBUILDER PROPERTIES + /** + * Old copy + * @var Contact + */ public $oldcopy; // To contains a clone of this when we need to save old properties of object diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 89d1308d8af..cc01b3700b6 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -197,24 +197,35 @@ class Societe extends CommonObject * @var string */ public $email; + + /** + * @var array array of socialnetworks + */ + public $socialnetworks; + /** * Skype username * @var string + * @deprecated */ public $skype; + /** * Twitter username * @var string + * @deprecated */ public $twitter; /** * Facebook username * @var string + * @deprecated */ public $facebook; /** * LinkedIn username * @var string + * @deprecated */ public $linkedin; /** diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 4d78aa1b892..ad7f8e7ec27 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -72,9 +72,35 @@ class User extends CommonObject public $email; public $personal_email; + + /** + * @var array array of socialnetworks + */ + public $socialnetworks; + + /** + * Skype username + * @var string + * @deprecated + */ public $skype; + /** + * Twitter username + * @var string + * @deprecated + */ public $twitter; + /** + * Facebook username + * @var string + * @deprecated + */ public $facebook; + /** + * Linkedin username + * @var string + * @deprecated + */ public $linkedin; public $job; // job position