diff options
Diffstat (limited to 'webmail/plugins/google_contacts/google_contacts_backend.php')
| -rw-r--r-- | webmail/plugins/google_contacts/google_contacts_backend.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/webmail/plugins/google_contacts/google_contacts_backend.php b/webmail/plugins/google_contacts/google_contacts_backend.php new file mode 100644 index 0000000..f88c2dd --- /dev/null +++ b/webmail/plugins/google_contacts/google_contacts_backend.php @@ -0,0 +1,33 @@ +<?php + +/** + * Google contacts backend + * + * Minimal backend for Google contacts + * + * @author Roland 'rosali' Liebl + * @version 1.0 + */ + +class google_contacts_backend extends rcube_contacts +{ + + public $name; + + function __construct($dbconn, $user) + { + $this->name = 'Google Contacts'; + $rcmail = rcmail::get_instance(); + parent::__construct($dbconn, $user); + $this->db_name = get_table_name('google_contacts'); + $this->ready = true; + } + + public function get_name() + { + return $this->name; + } + + +} +?>
\ No newline at end of file |
