1
-1- Module system has changed, but has still the same version number.
-2- in /languages/english/calendar.php the copyright notice is dropped.
Quote:
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* Xoops Language
*
* @copyright The XOOPS Project http://sourceforge.net/projects/xoops/
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* @package kernel
* @subpackage Xoops Calendar Language
* @since 2.0.0
* @author Kazumi Ono
* @version $Id: calendar.php 3152 2009-04-18 13:30:57Z catzwolf $
*/
defined('XOOPS_ROOT_PATH') or die('Restricted access');
Further are all text definitions again enclosed in double quotes, while previously, they were once all changed to single quotes.
This is changing for changing.
-3- Module profile constructs differ
class ProfileProfileHandler extends XoopsPersistableObjectHandler
{
/**
* holds reference to {@link profileFieldHandler} object
*/
var $_fHandler;
/**
* Array of {@link XoopsProfileField} objects
* @var array
*/
var $_fields = array();
function ProfileProfileHandler(&$db)
{
$this->__construct($db);
}
function __construct(&$db)
{
parent::__construct($db, "profile_profile", 'profileprofile', "profile_id");
$this->_fHandler = xoops_getmodulehandler('field', 'profile');
}
class ProfileRegstepHandler extends XoopsPersistableObjectHandler
{
function ProfileRegstepHandler(&$db)
{
$this->__construct($db);
}
function __construct($db)
{
parent::__construct($db, 'profile_regstep', 'profileregstep', 'step_id', 'step_name');
}
Why is &$db not used in the construct?