"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/base/classes/serviceUser.php" between
Open-Web-Analytics-1.6.9.tar.gz and Open-Web-Analytics-1.7.0.tar.gz

About: Open Web Analytics (OWA) is web analytics software to track and analyze how people use your web sites and applications.

serviceUser.php  (Open-Web-Analytics-1.6.9):serviceUser.php  (Open-Web-Analytics-1.7.0)
skipping to change at line 231 skipping to change at line 231
function isAuthenticated() { function isAuthenticated() {
return $this->is_authenticated; return $this->is_authenticated;
} }
/** /**
* Loads internal $this->assignedSites member * Loads internal $this->assignedSites member
*/ */
private function loadAssignedSites() { private function loadAssignedSites() {
owa_coreAPI::debug('loading assigned sites'); owa_coreAPI::debug('loading assigned sites');
if ( ! $this->user->get( 'id' ) ) {
throw new Exception('no user object loaded!'); try {
if ( ! $this->user->get( 'id' ) ) {
throw new Exception('no user object loaded!');
}
}
catch( Exception $e ) {
owa_coreAPI::debug('Handled exception: '. $e->getMessage(
) );
} }
$site_ids = array(); $site_ids = array();
$db = owa_coreAPI::dbSingleton(); $db = owa_coreAPI::dbSingleton();
$db->selectFrom( 'owa_site_user' ); $db->selectFrom( 'owa_site_user' );
$db->selectColumn( '*' ); $db->selectColumn( '*' );
$db->where( 'user_id', $this->user->get('id') ); $db->where( 'user_id', $this->user->get('id') );
$site_ids = $db->getAllRows(); $site_ids = $db->getAllRows();
// filter array of site_ids. // filter array of site_ids.
 End of changes. 1 change blocks. 
2 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)