Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3376 Rev 3377
Línea 295... Línea 295...
295
            $currentUserPlugin = $this->plugin('currentUserPlugin');
295
            $currentUserPlugin = $this->plugin('currentUserPlugin');
296
            $currentUser = $currentUserPlugin->getUser();
296
            $currentUser = $currentUserPlugin->getUser();
Línea 297... Línea 297...
297
            
297
            
298
            $code       = $this->params()->fromRoute('code');
298
            $code       = $this->params()->fromRoute('code');
-
 
299
            $type       = $this->params()->fromRoute('type');
-
 
300
            
299
            $type       = $this->params()->fromRoute('type');
301
            /*
300
            $user       = $this->params()->fromQuery('ll0');
302
            $user       = $this->params()->fromQuery('ll0');
301
            $timestamp  = intval($this->params()->fromQuery('ll1'), 10);
303
            $timestamp  = intval($this->params()->fromQuery('ll1'), 10);
302
            $rand       = intval($this->params()->fromQuery('ll2'), 10);
304
            $rand       = intval($this->params()->fromQuery('ll2'), 10);
303
            $password   = $this->params()->fromQuery('ll3');
305
            $password   = $this->params()->fromQuery('ll3');
Línea 319... Línea 321...
319
                    'success' => false,
321
                    'success' => false,
320
                    'data' => 'ERROR_UNAUTHORIZED'
322
                    'data' => 'ERROR_UNAUTHORIZED'
321
                ];
323
                ];
Línea 322... Línea 324...
322
                
324
                
323
                return new JsonModel($data);
325
                return new JsonModel($data);
Línea 471... Línea 473...
471
                'share_description' => strip_tags($share_description)]);  echo '</pre>';
473
                'share_description' => strip_tags($share_description)]);  echo '</pre>';
472
            exit;
474
            exit;
473
            */
475
            */
Línea 474... Línea 476...
474
            
476
            
-
 
477
            if($currentUserPlugin->hasIdentity()) {
475
            if($currentUserPlugin->hasIdentity()) {
478
                /*
476
                $currentUser = $currentUserPlugin->getUser();
479
                $currentUser = $currentUserPlugin->getUser();
Línea 477... Línea 480...
477
                if($userCheck && $userCheck->status == User::STATUS_ACTIVE && $userCheck->id != $currentUser->id ) {
480
                if($userCheck && $userCheck->status == User::STATUS_ACTIVE && $userCheck->id != $currentUser->id ) {
478
 
481
 
Línea 493... Línea 496...
493
                            
496
                            
494
                        $connectionMapper->insert($connection);
497
                        $connectionMapper->insert($connection);
495
                    }
498
                    }
Línea 496... Línea -...
496
                }
-
 
-
 
499
                }
Línea 497... Línea 500...
497
                
500
                
498
                
501
                */
499
 
502