OGB optimized landing page

OGB map fixes
This commit is contained in:
Exodus 4D
2015-09-01 23:27:41 +02:00
committed by Exodus4D
parent e8bb3b29e4
commit ae60b4122a
16 changed files with 247 additions and 118 deletions

View File

@@ -531,7 +531,6 @@ class Map extends \Controller\AccessController {
if( !is_null($map) ){
$return->mapUserData[] = $map->getUserData();
// request signature data for a system if user has map access!
if( $map->id === $requestSystemData->mapId ){
$system = $map->getSystem( $requestSystemData->systemId );
@@ -558,6 +557,7 @@ class Map extends \Controller\AccessController {
// get current user data -> this should not be cached because each user has different personal data
// even if they have multiple characters using the same map!
$return->userData = $user->getData();
}else{
// user logged off
$return->error[] = $this->getUserLoggedOffError();