docu update and remove decriated assignment of objects by reference

This commit is contained in:
Ralf Becker 2009-08-19 11:58:43 +00:00
parent 74a41902b8
commit c324275b1d

View File

@ -52,6 +52,13 @@ class date_widget
var $dateformat; // eg. Y-m-d, d-M-Y
var $timeformat; // 12 or 24
/**
* Reference to global jscalencar object
*
* @var jscalendar
*/
var $jscal;
/**
* Constructor of the extension
*
@ -61,7 +68,7 @@ class date_widget
{
if ($ui == 'html')
{
$this->jscal =& $GLOBALS['egw']->jscalendar;
$this->jscal = $GLOBALS['egw']->jscalendar;
}
$this->timeformat = $GLOBALS['egw_info']['user']['preferences']['common']['timeformat'];
$this->dateformat = $GLOBALS['egw_info']['user']['preferences']['common']['dateformat'];