Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16817 Rev 16820
Línea 394... Línea 394...
394
                            $surveyTest->status = SurveyTest::STATUS_PENDING;
394
                            $surveyTest->status = SurveyTest::STATUS_PENDING;
Línea 395... Línea 395...
395
                            
395
                            
Línea 396... Línea 396...
396
                            if($surveyTestMapper->insert($surveyTest)) {
396
                            if($surveyTestMapper->insert($surveyTest)) {
397
                                
397
                                
398
                                $calendarEvent = new CalendarEvent();
398
                                $calendarEvent = new CalendarEvent();
399
                                $calendarEvent->relational_id = $surveyCampaign->id;
399
                                $calendarEvent->relational_id = $surveyTest->id;
400
                                $calendarEvent->user_id = $user_id;
400
                                $calendarEvent->user_id = $user_id;
401
                                $calendarEvent->type = CalendarEvent::TYPE_SURVEY_NORMAL;
401
                                $calendarEvent->type = CalendarEvent::TYPE_SURVEY_NORMAL;
402
                                $calendarEvent->start_time = $surveyCampaign->end_date;
402
                                $calendarEvent->start_time = $surveyCampaign->end_date;