PM-1695 Crear nuevo endpoint para el contador de casos

This commit is contained in:
Brayan Pereyra
2015-03-06 18:06:31 -04:00
parent 2563a69d4d
commit 5738fa0864
19 changed files with 784 additions and 216 deletions

View File

@@ -151,16 +151,6 @@ class AppDelegation extends BaseAppDelegation
if ($this->validate()) {
try {
$res = $this->save();
/*----------------------------------********---------------------------------*/
$task = TaskPeer::retrieveByPK( $this->getTasUid() );
$taskType = $task->getTasType();
if($taskType == 'NORMAL'){
$inbox = new ListInbox();
$res = $this->toArray(BasePeer::TYPE_FIELDNAME);
$inbox->newRow($this->toArray(BasePeer::TYPE_FIELDNAME), $delPreviusUsrUid);
}
/*----------------------------------********---------------------------------*/
} catch (PropelException $e) {
throw ($e);
}