Remove superfluous prefs->read_repository, and chg custom field size

This commit is contained in:
Miles Lott 2001-04-27 14:30:06 +00:00
parent a9183356a1
commit f31696c256
3 changed files with 1 additions and 4 deletions

View File

@ -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_' ) {

View File

@ -347,7 +347,7 @@
<td><font color="#000000" face="" size="-1">'.$value.':</font></td>
<td>
<font size="-1">
<INPUT name="' . $name . '" value="' . $fields[$name] . '">
<INPUT size="30" name="' . $name . '" value="' . $fields[$name] . '">
</font></td>
</td>
</tr>

View File

@ -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_' ) {