- Added functions isSuccess, isError and hasData in message helper

- Updated the code using these new functions
This commit is contained in:
bison-paolo
2016-10-14 15:04:15 +02:00
parent f8c70df0bc
commit a20bf91193
13 changed files with 89 additions and 54 deletions
@@ -53,7 +53,7 @@ class Nation extends APIv1_Controller
$result = $this->NationModel->addOrder('engltext');
}
if ($result->error == EXIT_SUCCESS)
if (isSuccess($result))
{
if ($this->get('ohnesperre'))
{