- Removed unused and equal class defined in thirdparty/pear/json/class.json.php
- Removed unused and equal class defined in thirdparty/pear/class.nusoap_base.php
- Removed unused and equal class defined in thirdparty/pear/class.soapclient.php
- Removed __() method defined in class.g.php and replaced with G::LoadTranlation
This commit is contained in:
davidcallizaya
2017-08-11 12:29:43 -04:00
parent 45ed5d4932
commit b067aad7e4
7 changed files with 8 additions and 2594 deletions

View File

@@ -147,15 +147,15 @@ class ProcessProxy extends HttpProxyController
$this->success = true;
if (! in_array( '-1', $res )) {
if (count( $UIDS ) == 1) {
$this->msg = __( 'ID_ACTOR_ASSIGNED_SUCESSFULLY', SYS_LANG, Array ('tas_title' => $task->getTasTitle()) );
$this->msg = G::LoadTranslation( 'ID_ACTOR_ASSIGNED_SUCESSFULLY', SYS_LANG, Array ('tas_title' => $task->getTasTitle()) );
} else {
$this->msg = __( 'ID_ACTORS_ASSIGNED_SUCESSFULLY', SYS_LANG, Array (count( $UIDS ),$task->getTasTitle()) );
$this->msg = G::LoadTranslation( 'ID_ACTORS_ASSIGNED_SUCESSFULLY', SYS_LANG, Array (count( $UIDS ),$task->getTasTitle()) );
}
} else {
if (count( $UIDS ) == 1) {
$this->msg = __( 'ID_ACTOR_ALREADY_ASSIGNED', SYS_LANG, Array ($task->getTasTitle()) );
$this->msg = G::LoadTranslation( 'ID_ACTOR_ALREADY_ASSIGNED', SYS_LANG, Array ($task->getTasTitle()) );
} else {
$this->msg = __( 'ID_SOME_ACTORS_ALREADY_ASSIGNED', SYS_LANG, Array ($task->getTasTitle()) );
$this->msg = G::LoadTranslation( 'ID_SOME_ACTORS_ALREADY_ASSIGNED', SYS_LANG, Array ($task->getTasTitle()) );
}
}
}