Hi all,
all these plugins create a calendar instance by:
<?php
/**
* Automatic addressbook backend
*
* Minimal backend for Automatic Addressbook
*
* @author Jocelyn Delalande
* @version 0.1
*/
class automatic_addressbook_backend extends rcube_contacts
{
function __construct($dbconn, $user)
{
parent::__construct($dbconn, $user);
$this->db_name = get_table_name('collected_contacts');
}
}
?>
Now I have to insert before parent::__contstruct ...
$rcmail = rcmail::get_instance();
$rcmail->config->set('db_table_contacts', $rcmail->config->get('db_table_collected_contacts'));
Otherwise it will use the default contacts table. Is this a bug or intended behavior?
Regards,
Roland