Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17266 Rev 17267
Línea 820... Línea 820...
820
                        
820
                        
821
                        //||  empty($password)
821
                        //||  empty($password)
822
                        if(empty($first_name) || empty($last_name) || !filter_var($email, FILTER_VALIDATE_EMAIL) ) {
822
                        if(empty($first_name) || empty($last_name) || !filter_var($email, FILTER_VALIDATE_EMAIL) ) {
823
                            continue;                            
823
                            continue;                            
824
                        }
-
 
825
 
-
 
Línea 826... Línea 824...
826
                        $this->logger->info('Email: ' . $email);
824
                        }
827
                        
825
                        
828
                        if(!in_array($email, $emails)) {
826
                        if(!in_array($email, $emails)) {
829
                            $user = $userMapper->fetchOneByEmail($email);
827
                            $user = $userMapper->fetchOneByEmail($email);
Línea 858... Línea 856...
858
                                'password'  => $password,
856
                                'password'  => $password,
859
                                'email' => $email,
857
                                'email' => $email,
860
                                'status' => 'DUPLICATE IN EXCEL'
858
                                'status' => 'DUPLICATE IN EXCEL'
861
                            ]);
859
                            ]);
862
                        }
860
                        }
863
 
-
 
864
                        $this->logger->info('Users: ' . print_r($users, true));
-
 
865
                    }
861
                    }
Línea -... Línea 862...
-
 
862
 
-
 
863
                    $this->logger->info('Users: ' . print_r($users, true));
-
 
864
                    $this->logger->info('Errors: ' . print_r($errors, true));
-
 
865
                    
866
 
866
 
867
                    return new JsonModel([
867
                    return new JsonModel([
868
                        'success' => true,
868
                        'success' => true,
869
                        'data' => [
869
                        'data' => [
870
                            'topic' => $topic->name,
870
                            'topic' => $topic->name,