[Tickets #6038] horde's config/hooks.php gives kolab examples that use deprecated method calls
bugs at horde.org
bugs at horde.org
Mon Dec 24 23:14:52 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6038
-----------------------------------------------------------------------
Ticket | 6038
Created By | m.gabriel at das-netzwerkteam.de
Summary | horde's config/hooks.php gives kolab examples that use deprecated method
| calls
Queue | Horde Groupware Webmail Edition
Version | 1.1-RC1
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
m.gabriel at das-netzwerkteam.de (2007-12-24 18:14) wrote:
i am using kolab-2.1 (debian unstable) and horde-webmail-1.1rc1
in horde's config/hooks.php you find these hook examples (commented out),
that still use updateShare, removeShare of horde 3.1.x (i guess).
if (!function_exists('_horde_hook_share_add')) {
function _horde_hook_share_add(&$share)
{
require_once 'Horde/Kolab.php';
return Kolab::updateShare($share);
}
}
if (!function_exists('_horde_hook_share_modify')) {
function _horde_hook_share_modify(&$share)
{
require_once 'Horde/Kolab.php';
return Kolab::updateShare($share);
}
}
if (!function_exists('_horde_hook_share_remove')) {
function _horde_hook_share_remove(&$share)
{
require_once 'Horde/Kolab.php';
return Kolab::removeShare($share);
}
}
what exactly was the meaning of these hooks? are they still needed in
horde-3.2.x and if yes, how can i substitute them?
best,
mike
More information about the bugs
mailing list