Merge branch '3.0.1.6-Gmail' of bitbucket.org:colosa/processmaker into 3.0.1.6-Gmail
This commit is contained in:
@@ -264,6 +264,7 @@ class AppDelegation extends BaseAppDelegation
|
||||
$c->addSelectColumn( AppDelegationPeer::DEL_INIT_DATE );
|
||||
$c->addSelectColumn( AppDelegationPeer::DEL_TASK_DUE_DATE );
|
||||
$c->addSelectColumn( AppDelegationPeer::DEL_FINISH_DATE );
|
||||
$c->addSelectColumn( AppDelegationPeer::DEL_PREVIOUS );
|
||||
|
||||
$c->add( AppDelegationPeer::DEL_THREAD_STATUS, 'OPEN' );
|
||||
$c->add( AppDelegationPeer::APP_UID, $AppUid );
|
||||
@@ -287,6 +288,7 @@ class AppDelegation extends BaseAppDelegation
|
||||
$case['DEL_INIT_DATE'] = $row['DEL_INIT_DATE'];
|
||||
$case['DEL_TASK_DUE_DATE'] = $row['DEL_TASK_DUE_DATE'];
|
||||
$case['DEL_FINISH_DATE'] = $row['DEL_FINISH_DATE'];
|
||||
$case['DEL_PREVIOUS'] = $row['DEL_PREVIOUS'];
|
||||
$aCases[] = $case;
|
||||
$rs->next();
|
||||
$row = $rs->getRow();
|
||||
|
||||
@@ -1,5 +1,28 @@
|
||||
<?php
|
||||
class EmailServer extends BaseEmailServer
|
||||
{
|
||||
/**
|
||||
* Get the evn_description column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function loadDefaultAccount ()
|
||||
{
|
||||
$c = new Criteria( 'workflow' );
|
||||
$del = DBAdapter::getStringDelimiter();
|
||||
|
||||
$c->clearSelectColumns();
|
||||
$c->addSelectColumn( EmailServerPeer::MESS_ACCOUNT );
|
||||
|
||||
$c->add( EmailServerPeer::MESS_DEFAULT, 1 );
|
||||
|
||||
$rs = EmailServerPeer::doSelectRS( $c, Propel::getDBConnection('workflow_ro') );
|
||||
$rs->setFetchmode( ResultSet::FETCHMODE_ASSOC );
|
||||
$rs->next();
|
||||
$row = $rs->getRow();
|
||||
$response=$row;
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user