Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14287 Rev 14288
Línea 334... Línea 334...
334
            ];
334
            ];
Línea 335... Línea 335...
335
 
335
 
336
            return new JsonModel($data);
336
            return new JsonModel($data);
337
        }
337
        }
338
        if ($request->isPost()) {
338
        if ($request->isPost()) {
339
            // $result = $behaviorMapper->delete($behavior);
-
 
340
            $result= true;
339
            $result = $behaviorMapper->delete($behavior->id);
341
            if ($result) {
340
            if ($result) {
Línea 342... Línea 341...
342
                $this->logger->info('Se borro el tipo de competencia ' . $behavior->description, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
341
                $this->logger->info('Se borro el tipo de competencia ' . $behavior->description, ['user_id' => $currentUser->id, 'ip' => Functions::getUserIP()]);
343
 
342