Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17224 Rev 17225
Línea 461... Línea 461...
461
 
461
 
462
                // Update basic topic data first
462
                // Update basic topic data first
463
                if(!$topicMapper->update($topic)) {
463
                if(!$topicMapper->update($topic)) {
464
                    return $this->createErrorResponse($topicMapper->getError());
464
                    return $this->createErrorResponse($topicMapper->getError());
-
 
465
                }
-
 
466
 
Línea 465... Línea 467...
465
                }
467
                $this->logger->info('Se actualizo el tópico ' . $topic->name, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
466
                
468
                
467
                // Process images if uploaded
469
                // Process images if uploaded
468
                $imageResult = $this->processTopicImages($request, $topic);
470
                $imageResult = $this->processTopicImages($request, $topic);
Línea 480... Línea 482...
480
                    }
482
                    }
Línea 481... Línea 483...
481
                    
483
                    
482
                    if(!$topicMapper->update($topic)) {
484
                    if(!$topicMapper->update($topic)) {
483
                        return $this->createErrorResponse($topicMapper->getError());
485
                        return $this->createErrorResponse($topicMapper->getError());
-
 
486
                    }
-
 
487
 
484
                    }
488
                    $this->logger->info('Se actualizo la imagen del tópico ' . $topic->name, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
Línea 485... Línea 489...
485
                }
489
                }
486
 
490
 
487
                // Update capsule relations
491
                // Update capsule relations