Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14301 Rev 14303
Línea 309... Línea 309...
309
 
309
 
310
        return new JsonModel($data);
310
        return new JsonModel($data);
Línea 311... Línea 311...
311
    }
311
    }
312
 
312
 
313
    public function deleteAction() {
313
    public function deleteAction() {
Línea 314... Línea 314...
314
        // $currentUserPlugin = $this->plugin('currentUserPlugin');
314
        $currentUserPlugin = $this->plugin('currentUserPlugin');
315
        // $currentUser = $currentUserPlugin->getUser();
315
        $currentUser = $currentUserPlugin->getUser();
316
 
316
 
317
        // $request = $this->getRequest();
317
        $request = $this->getRequest();
318
        // $id = $this->params()->fromRoute('id');
318
        $id = $this->params()->fromRoute('id');
319
        // $compId = $this->params()->fromRoute('idComp');
319
        $compId = $this->params()->fromRoute('idComp');
320
        // print_r($request);
320
        print_r($request);
321
        // if (!$id || !$compId) {
321
        if (!$id || !$compId) {
322
        //     $data = [
322
            $data = [
Línea 323... Línea 323...
323
        //         'success' => false,
323
                'success' => false,
324
        //         'data' => 'ERROR_INVALID_PARAMETER'
324
                'data' => 'ERROR_INVALID_PARAMETER'
Línea 325... Línea 325...
325
        //     ];
325
            ];
326
 
326
 
327
        //     return new JsonModel($data);
327
            return new JsonModel($data);
328
        // }
328
        }