summaryrefslogtreecommitdiff
path: root/program/include/rcube_contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_contacts.php')
-rw-r--r--program/include/rcube_contacts.php35
1 files changed, 2 insertions, 33 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php
index 65d89ca2b..f440e5f8a 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 = '';
@@ -60,30 +60,6 @@ class rcube_contacts
/**
- * 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;
- }
-
-
- /**
* Save a search string for future listings
*
* @param string SQL params to use in listing method
@@ -118,13 +94,6 @@ class rcube_contacts
/**
- * Close connection to source
- * Called on script shutdown
- */
- function close(){}
-
-
- /**
* List the current set of contact records
*
* @param array List of cols to show
@@ -233,7 +202,7 @@ class rcube_contacts
*
* @return Result array or NULL if nothing selected yet
*/
- function get_result($as_res=true)
+ function get_result()
{
return $this->result;
}