From 9a9e6f08080cffb54eb130e8ab878ddcba3b171f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Jan 2013 09:30:30 +0000 Subject: [PATCH] docu update --- phpgwapi/inc/class.egw_link.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 9dfca2e4ec..dd98e97688 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -542,12 +542,13 @@ class egw_link extends solink * @param $link_id link-id to remove if > 0 * @param string $app='' appname of first endpoint * @param string/array $id='' id in $app or array with links, if 1. entry not yet created + * @param int $owner=0 account_id to delete all links of a given owner, or 0 * @param string $app2='' app of second endpoint * @param string $id2='' id in $app2 * @param boolean $hold_for_purge Don't really delete the link, just mark it as deleted and wait for final delete * @return the number of links deleted */ - static function unlink($link_id,$app='',$id='',$owner='',$app2='',$id2='',$hold_for_purge=false) + static function unlink($link_id,$app='',$id='',$owner=0,$app2='',$id2='',$hold_for_purge=false) { return self::unlink2($link_id,$app,$id,$owner,$app2,$id2,$hold_for_purge); } @@ -558,12 +559,13 @@ class egw_link extends solink * @param $link_id link-id to remove if > 0 * @param string $app='' appname of first endpoint * @param string/array &$id='' id in $app or array with links, if 1. entry not yet created + * @param int $owner=0 account_id to delete all links of a given owner, or 0 * @param string $app2='' app of second endpoint, or !file (other !app are not yet supported!) * @param string $id2='' id in $app2 * @param boolean $hold_for_purge Don't really delete the link, just mark it as deleted and wait for final delete * @return the number of links deleted */ - static function unlink2($link_id,$app,&$id,$owner='',$app2='',$id2='',$hold_for_purge=false) + static function unlink2($link_id,$app,&$id,$owner=0,$app2='',$id2='',$hold_for_purge=false) { if (self::DEBUG) {