From cc97ea0559af1a92a54dbcdf738ee4d95e67d3ff Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sun, 19 Apr 2009 13:44:29 -0400 Subject: [PATCH] Merged branch devel-api (from r2208 to r2387) back into trunk (omitting some sample plugins) --- program/include/rcube_contacts.php | 35 ++--------------------------------- 1 files changed, 2 insertions(+), 33 deletions(-) diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index 65d89ca..f440e5f 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -25,7 +25,7 @@ * * @package Addressbook */ -class rcube_contacts +class rcube_contacts extends rcube_addressbook { var $db = null; var $db_name = ''; @@ -56,30 +56,6 @@ $this->db_name = get_table_name('contacts'); $this->user_id = $user; $this->ready = $this->db && !$this->db->is_error(); - } - - - /** - * Set internal list page - * - * @param number Page number to list - * @access public - */ - function set_page($page) - { - $this->list_page = (int)$page; - } - - - /** - * Set internal page size - * - * @param number Number of messages to display on one page - * @access public - */ - function set_pagesize($size) - { - $this->page_size = (int)$size; } @@ -115,13 +91,6 @@ $this->search_fields = null; $this->search_string = null; } - - - /** - * Close connection to source - * Called on script shutdown - */ - function close(){} /** @@ -233,7 +202,7 @@ * * @return Result array or NULL if nothing selected yet */ - function get_result($as_res=true) + function get_result() { return $this->result; } -- Gitblit v1.9.1