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; $this = new export_conv;
// Read in user custom fields, if any // Read in user custom fields, if any
$phpgw->preferences->read_repository();
$customfields = array(); $customfields = array();
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) { while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
if ( substr($col,0,6) == 'extra_' ) { if ( substr($col,0,6) == 'extra_' ) {

View File

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

View File

@ -30,8 +30,6 @@
$this = CreateObject("phpgwapi.contacts"); $this = CreateObject("phpgwapi.contacts");
//$this->delete_all($phpgw_info["user"]["account_id"]); //$this->delete_all($phpgw_info["user"]["account_id"]);
//exit; //exit;
// Read in user custom fields, if any
$phpgw->preferences->read_repository();
$customfields = array(); $customfields = array();
while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) { while (list($col,$descr) = @each($phpgw_info["user"]["preferences"]["addressbook"])) {
if ( substr($col,0,6) == 'extra_' ) { if ( substr($col,0,6) == 'extra_' ) {