summaryrefslogtreecommitdiff
path: root/webmail/plugins/google_contacts/google_contacts_backend.php
blob: f88c2dd72f9dd0a56e53f7a9f2ccb098083166d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
  }
	
	
}
?>