Project

General

Profile

Bug #2225 » plugin.foundation-rev2.patch

krileon, 24 January 2011 20:49

View differences:

administrator/components/com_comprofiler/plugin.foundation.php
$tmpDatabase =& JFactory::getDBO();
$my =& JFactory::getUser();
$acl =& JFactory::getACL();
$myAid = end( array_keys( $my->groups ) );
$myAid = null;
$sefFunc = array( 'JRoute', '_' );
$sefFuncHtmlEnt = false;
$cmsUser = 'JUser';
......
$_CB_framework->acl = new CBACL( $acl );
if ( checkJversion() == 2 ) {
$_CB_framework->_myCmsGid = (int) $_CB_framework->acl->getBackwardsCompatibleGid( array_values( $my->groups ) );
}
/**
* CB text languages EXPERIMENTAL
* @access private
(9-9/12)