Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 9557 Rev 9558
Línea 733... Línea 733...
733
                   
733
                   
734
                    $response = [
734
                    $response = [
735
                        'success'   => true,
735
                        'success'   => true,
736
                        'data'   => $this->renderFeed($feed->id)
736
                        'data'   => $this->renderFeed($feed->id)
737
                    ];
-
 
738
                    return new JsonModel([
-
 
739
                        'success' => false,
-
 
740
                        'data' => 'sfdsf'
-
 
-
 
737
                    ];
741
                    ]);
738
                   
742
                } else {
739
                } else {
743
                    $response = [
740
                    $response = [
744
                        'success'   => false,
741
                        'success'   => false,
745
                        'data'   => $feedMapper->getError()
742
                        'data'   => $feedMapper->getError()
Línea 971... Línea 968...
971
     * @param Company $company
968
     * @param Company $company
972
     * @return array
969
     * @return array
973
     */
970
     */
974
    private function renderFeed($feed_id)
971
    private function renderFeed($feed_id)
975
    {
972
    {
-
 
973
        return new JsonModel([
-
 
974
            'success' => false,
-
 
975
            'data' => 'sfdsf'
976
        
976
        ]);
977
        $sandbox = $this->config['leaderslinked.runmode.sandbox'];
977
        $sandbox = $this->config['leaderslinked.runmode.sandbox'];
978
        if($sandbox) {
978
        if($sandbox) {
979
            $company_profile_url = $this->config['leaderslinked.frontend.sandbox_company_profile'];
979
            $company_profile_url = $this->config['leaderslinked.frontend.sandbox_company_profile'];
980
            $user_profile_url = $this->config['leaderslinked.frontend.sandbox_user_profile'];
980
            $user_profile_url = $this->config['leaderslinked.frontend.sandbox_user_profile'];
Línea 984... Línea 984...
984
            $user_profile_url = $this->config['leaderslinked.frontend.production_user_profile'];
984
            $user_profile_url = $this->config['leaderslinked.frontend.production_user_profile'];
985
        } 
985
        } 
Línea 986... Línea -...
986
        
-
 
987
        
-
 
988
 
-
 
989
        return new JsonModel([
986
        
990
            'success' => false,
987
        
991
            'data' => 'sfdsf'
988
 
992
        ]);
989
       
Línea 993... Línea 990...
993
        $currentUserPlugin = $this->plugin('currentUserPlugin');
990
        $currentUserPlugin = $this->plugin('currentUserPlugin');