Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 1 Rev 192
Línea 463... Línea 463...
463
        
463
        
464
        return $this->executeUpdate($update);
464
        return $this->executeUpdate($update);
Línea -... Línea 465...
-
 
465
    }
-
 
466
    
-
 
467
    
-
 
468
    /**
-
 
469
     *
-
 
470
     * @param int $message_id
-
 
471
     * @param int $receiver_id
-
 
472
     * @return boolean
-
 
473
     */
-
 
474
    public function markReportedById($id)
-
 
475
    {
-
 
476
        $update = $this->sql->update(self::_TABLE);
-
 
477
        $update->set([
-
 
478
            'receiver_status' => Message::STATUS_REPORTED
-
 
479
        ]);
-
 
480
        $update->where->equalTo('id', $id);
-
 
481
        
-
 
482
        
465
    }
483
        return $this->executeUpdate($update);
466
    
484
    }