Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3188 | Rev 3190 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3188 Rev 3189
Línea 280... Línea 280...
280
            $connectionMapper = ConnectionMapper::getInstance($this->adapter);
280
            $connectionMapper = ConnectionMapper::getInstance($this->adapter);
281
            $total_connections = $connectionMapper->fetchTotalConnectionByUser($user->id);
281
            $total_connections = $connectionMapper->fetchTotalConnectionByUser($user->id);
Línea 282... Línea 282...
282
    
282
    
283
            $request_connection = 0;
283
            $request_connection = 0;
284
            if($connection) {
284
            if($connection) {
285
                if($connection->status == Connection::STATUS_SENT || $connection->status == Connection::STATUS_ACCEPTED) {
285
                if($connection->status == Connection::STATUS_REJECTED || $connection->status == Connection::STATUS_CANCELLED) {
286
                    $request_connection = 1;
286
                    $request_connection = 1;
-
 
287
                }
-
 
288
            } else {
287
                }
289
                $request_connection = 0;
Línea -... Línea 290...
-
 
290
            }
288
            }
291
            
Línea 289... Línea 292...
289
            
292
            
290
            $common_connection = count($connectionMapper->fetchAllCommonConnectionsUserIdByUser1ReturnIds($currentUser->id, $userProfile->user_id));
293
            $common_connection = count($connectionMapper->fetchAllCommonConnectionsUserIdByUser1ReturnIds($currentUser->id, $userProfile->user_id));