X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fidentity.php;h=e4fc93255db4acb20b878039f0ce3868f2fec8f1;hb=938d39caecff6dab2540615a36fbe9271365e80f;hp=ade32603c17f8ae4db6a34d4b9885034e7da1375;hpb=e7f9c98704ebe1b0a62912059c39c3cb44eff7ad;p=squirrelmail.git diff --git a/functions/identity.php b/functions/identity.php index ade32603..e4fc9325 100644 --- a/functions/identity.php +++ b/functions/identity.php @@ -10,20 +10,25 @@ * * @version $Id$ * @package squirrelmail + * @since 1.4.2 */ -/** Used to simplify includes */ +/** Used to simplify includes + * @ignore + */ if (!defined('SM_PATH')) { define('SM_PATH','../'); } +/** preference and signature functions */ include_once(SM_PATH . 'include/load_prefs.php'); /** -* Returns an array of all the identities. -* Array is keyed: full_name, reply_to, email_address, index, signature -* @return array full_name,reply_to,email_address,index,signature -*/ + * Returns an array of all the identities. + * Array is keyed: full_name, reply_to, email_address, index, signature + * @return array full_name,reply_to,email_address,index,signature + * @since 1.4.2 + */ function get_identities() { global $username, $data_dir, $domain; @@ -63,6 +68,7 @@ function get_identities() { * Function to save the identities array * * @param array $identities Array of identities + * @since 1.5.1 and 1.4.5 */ function save_identities($identities) { @@ -112,6 +118,7 @@ function save_identities($identities) { * @param int $id Identity to modify * @param string $action Action to perform * @return array + * @since 1.5.1 and 1.4.5 */ function sqfixidentities( $identities, $id, $action ) { @@ -185,6 +192,7 @@ function sqfixidentities( $identities, $id, $action ) { * * @param array $identity Identitiy Array * @return boolean + * @since 1.5.1 and 1.4.5 */ function empty_identity($ident) { if (empty($ident['full_name']) && empty($ident['email_address']) && empty($ident['signature']) && empty($ident['reply_to'])) { @@ -194,4 +202,4 @@ function empty_identity($ident) { } } -?> +?> \ No newline at end of file