Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 11179 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11179 Rev 11180
Línea 101... Línea 101...
101
                        'data' => 'ERROR_RECORD_NOT_FOUND'
101
                        'data' => 'ERROR_RECORD_NOT_FOUND'
102
                    ];
102
                    ];
Línea 103... Línea 103...
103
        
103
        
104
            return new JsonModel($data);
104
            return new JsonModel($data);
105
        }
105
        }
-
 
106
               
-
 
107
        $highPerformanceTeamsGroupsMembersMapper = HighPerformanceTeamsGroupsMembersMapper::getInstance($this->adapter);
-
 
108
        $highPerformanceTeamsGroupsMembers = $highPerformanceTeamsGroupsMembersMapper->fetchAllInnerJoinUser($highPerformanceTeamsGroups->id,UserMapper::_TABLE);
-
 
109
        if(!$highPerformanceTeamsGroupsMembers){
-
 
110
            return new JsonModel([
-
 
111
                'success' => false,
-
 
112
                'data' => 'ERROR_RECORD_NOT_FOUND'
-
 
113
            ]);
-
 
114
        }     
Línea 106... Línea 115...
106
                     
115
                
107
              
116
              
108
        $member = $highPerformanceTeamsGroupsMembersMapper->fetchOneByGroupIdAndUserId($highPerformanceTeamsGroups->id,$currentUser->id);
117
        $member = $highPerformanceTeamsGroupsMembersMapper->fetchOneByGroupIdAndUserId($highPerformanceTeamsGroups->id,$currentUser->id);
109
            if(!$member){
118
            if(!$member){