Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 9541 Rev 9542
Línea 584... Línea 584...
584
                            'data' => 'ERROR_RECORD_NOT_FOUND'
584
                            'data' => 'ERROR_RECORD_NOT_FOUND'
585
                        ]);
585
                        ]);
586
                    }
586
                    }
Línea 587... Línea 587...
587
                    
587
                    
588
                    if(isset($dataPost['high_performance_group_topic_id'])){
-
 
589
                        return new JsonModel([
-
 
590
                            'success' => false,
-
 
591
                            'data' => 'ERROR_RECORD_sssNOT_FOUND'
-
 
-
 
588
                    if(isset($dataPost['high_performance_group_topic_id'])){
592
                        ]);
589
                        
593
                        $topicMapper = TopicMapper::getInstance($this->adapter);
590
                        $topicMapper = TopicMapper::getInstance($this->adapter);
594
                        $topic = $topicMapper->fetchOneByUuid($feed->high_performance_group_topic_id);
591
                        $topic = $topicMapper->fetchOneByUuid($feed->high_performance_group_topic_id);
595
                        if($topic){
592
                        if($topic){
596
                            $feed->high_performance_group_topic_id = $topic->id;
593
                            $feed->high_performance_group_topic_id = $topic->id;
Línea 599... Línea 596...
599
                                'success' => false,
596
                                'success' => false,
600
                                'data' => 'ERROR_RECORD_NOT_FOUND'
597
                                'data' => 'ERROR_RECORD_NOT_FOUND'
601
                            ]);
598
                            ]);
602
                        }
599
                        }
603
                    }
600
                    }
604
 
-
 
-
 
601
                    return new JsonModel([
-
 
602
                        'success' => false,
-
 
603
                        'data' => 'ERROR_RECORD_sssNOT_FOUND'
-
 
604
                    ]);
Línea 605... Línea 605...
605
 
605
 
606
                    $feed->company_id       = $currentCompany->id;
606
                    $feed->company_id       = $currentCompany->id;
607
                    $feed->group_id         = null;
607
                    $feed->group_id         = null;
608
                    $feed->high_performance_group_id = $id;
608
                    $feed->high_performance_group_id = $id;