[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: calendar/inc class.bocustom_fields.inc.php, 1.1.
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: calendar/inc class.bocustom_fields.inc.php, 1.1.2.3, 1.1.2.4 |
Date: |
Sun, 10 Aug 2003 04:27:21 -0400 |
Update of /cvsroot/phpgroupware/calendar/inc
In directory subversions:/tmp/cvs-serv12433
Modified Files:
Tag: Version-0_9_16-branch
class.bocustom_fields.inc.php
Log Message:
dont save config, if nothing changed
Index: class.bocustom_fields.inc.php
===================================================================
RCS file:
/cvsroot/phpgroupware/calendar/inc/Attic/class.bocustom_fields.inc.php,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -r1.1.2.3 -r1.1.2.4
*** class.bocustom_fields.inc.php 9 Aug 2003 22:17:07 -0000 1.1.2.3
--- class.bocustom_fields.inc.php 10 Aug 2003 08:27:19 -0000 1.1.2.4
***************
*** 41,45 ****
$this->fields = &$this->config->config_data['fields'];
! if ($first_time = !is_array($this->fields)) {
$this->fields = array();
}
--- 41,45 ----
$this->fields = &$this->config->config_data['fields'];
! if (!is_array($this->fields)) {
$this->fields = array();
}
***************
*** 71,78 ****
$this->fields[$field]['length'] =
$data['length'];
$this->fields[$field]['shown'] =
$data['shown'];
- }
- if ($first_time)
- {
- $this->save();
}
}
--- 71,74 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: calendar/inc class.bocustom_fields.inc.php, 1.1.2.3, 1.1.2.4,
Ralf Becker <address@hidden> <=