From f31696c2569265873789bdcfdae8064d46d02bb2 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Fri, 27 Apr 2001 14:30:06 +0000 Subject: [PATCH] Remove superfluous prefs->read_repository, and chg custom field size --- addressbook/export.php | 1 - addressbook/inc/functions.inc.php | 2 +- addressbook/index.php | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/addressbook/export.php b/addressbook/export.php index 987554cf38..7e3dff8d06 100644 --- a/addressbook/export.php +++ b/addressbook/export.php @@ -78,7 +78,6 @@ $this = new export_conv; // Read in user custom fields, if any - $phpgw->preferences->read_repository(); $customfields = array(); while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) { if ( substr($col,0,6) == 'extra_' ) { diff --git a/addressbook/inc/functions.inc.php b/addressbook/inc/functions.inc.php index 187e733b54..f6c68e58b5 100755 --- a/addressbook/inc/functions.inc.php +++ b/addressbook/inc/functions.inc.php @@ -347,7 +347,7 @@ '.$value.': - + diff --git a/addressbook/index.php b/addressbook/index.php index 82f95a62fc..93f9594454 100755 --- a/addressbook/index.php +++ b/addressbook/index.php @@ -30,8 +30,6 @@ $this = CreateObject("phpgwapi.contacts"); //$this->delete_all($phpgw_info["user"]["account_id"]); //exit; - // Read in user custom fields, if any - $phpgw->preferences->read_repository(); $customfields = array(); while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) { if ( substr($col,0,6) == 'extra_' ) {