Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 11352 Rev 11353
Línea 214... Línea 214...
214
     * ]
214
     * ]
215
     * @return \Laminas\View\Model\JsonModel
215
     * @return \Laminas\View\Model\JsonModel
216
     */
216
     */
217
    public function heartBeatAction()
217
    public function heartBeatAction()
218
    {
218
    {
219
        return new JsonModel([
-
 
220
            'success'   => false,
-
 
221
            'data'   => 'sadasd'
-
 
222
        ]);
219
       
223
        $request    = $this->getRequest();
220
        $request    = $this->getRequest();
224
        if($request->isGet()) {
221
        if($request->isGet()) {
Línea -... Línea 222...
-
 
222
          
-
 
223
            return new JsonModel([
-
 
224
                'success'   => false,
225
          
225
                'data'   => 'sadasssd'
226
 
226
            ]);
227
            $currentUserPlugin = $this->plugin('currentUserPlugin');
227
            $currentUserPlugin = $this->plugin('currentUserPlugin');
Línea 228... Línea 228...
228
            $currentUser = $currentUserPlugin->getUser();
228
            $currentUser = $currentUserPlugin->getUser();
229
 
229