"use static method of link class"

This commit is contained in:
Ralf Becker 2008-07-07 06:09:32 +00:00
parent 602cfd1edc
commit 9763f202b5

View File

@ -5,7 +5,7 @@
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @package infolog
* @copyright (c) 2003-6 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2003-8 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
@ -216,7 +216,7 @@ function cat_id($cats)
'percent' => 'Percent completed: int',
// 'confirm' => 'Confirmation: char(10) not,accept,finish,both when to confirm',
'project_id' => 'Link to Projectmanager, use Project-ID, Title or @project_id(id_or_title)',
'addr_id' => 'Link to Addressbook, use nlast,nfirst[,org] or @addr_id(nlast,nfirst,org)',
'addr_id' => 'Link to Addressbook, use nlast,nfirst[,org] or contact_id from addressbook',
'link_1' => '1. link: appname:appid the entry should be linked to, eg.: addressbook:123',
'link_2' => '2. link: appname:appid the entry should be linked to, eg.: addressbook:123',
'link_3' => '3. link: appname:appid the entry should be linked to, eg.: addressbook:123',
@ -519,7 +519,7 @@ function cat_id($cats)
if ($app && $app_id)
{
//echo "<p>linking infolog:$id with $app:$app_id</p>\n";
$link_id = $boinfolog->link->link('infolog',$id,$app,$app_id);
$link_id = egw_link::link('infolog',$id,$app,$app_id);
if ($link_id && !$info_link_id)
{
$to_write = array(