diff --git a/core/Controllers/StatusController.php b/core/Controllers/StatusController.php index fe1f6a5fd9680fd3638eaaf35554fee4a4c92ec3..3f787b471816a845b749dafa09aa49232dc44e0f 100755 --- a/core/Controllers/StatusController.php +++ b/core/Controllers/StatusController.php @@ -62,7 +62,6 @@ class StatusController return $response->withJson([ 'status' => $obj, - 'lang' => StatusModel::getStatusLang(), 'statusImages' => StatusImagesModel::getStatusImages(), ]); } else { diff --git a/core/Models/LangModelAbstract.php b/core/Models/LangModelAbstract.php index e938ea2070b70b3636f5cc944e7cb703eb29e473..4a616b90ae7a641a33d51cfb77fe2b6e8e551d2e 100755 --- a/core/Models/LangModelAbstract.php +++ b/core/Models/LangModelAbstract.php @@ -166,51 +166,6 @@ class LangModelAbstract return $aLang; } - public static function getStatusLang() - { - $aLang = [ - 'description' => _DESCRIPTION, - 'noResult' => _NO_RESULTS, - 'noRecord' => _NO_RECORD, - 'previous' => _PREVIOUS_PAGE, - 'next' => _NEXT_PAGE, - 'record' => _RECORD, - 'search' => _SEARCH, - 'identifier' => _ID, - 'edit' => _MODIFY, - 'delete' => _DELETE, - 'newStatus' => _NEW_STATUS, - 'status' => _STATUS, - 'statusListTitle' => _STATUS_LIST, - 'page' => _PAGE, - 'outOf' => _OUT_OF, - 'recordsPerPage' => _RECORDS_PER_PAGE, - 'display' => _DISPLAY, - 'noRecords' => _NO_RECORDS, - 'available' => _AVAILABLE, - 'filteredFrom' => _FILTERED_FROM, - 'records' => _RECORDS, - 'img_related' => _IMG_RELATED, - 'validate' => _VALIDATE, - 'cancel' => _CANCEL, - 'can_be_modified' => _CAN_BE_MODIFIED, - 'can_be_searched' => _CAN_BE_SEARCHED, - 'is_folder_status' => _IS_FOLDER_STATUS, - 'yes' => _YES, - 'no' => _NO, - 'modify_status' => _MODIFY_STATUS, - 'deleteConfirm' => _REALLY_DELETE, - 'admin_status' => _ADMIN_STATUS, - 'admin' => _ADMIN, - 'modification' => _MODIFICATION, - 'delStatus' => _DEL_STATUS, - 'newStatusAdded' => _NEW_STATUS_ADDED, - 'statusUpdated' => _STATUS_UPDATED, - 'newItem' => _NEW_ITEM, - ]; - return $aLang; - } - public static function getUsersAdministrationLang() { $aLang = [ diff --git a/core/Models/StatusModelAbstract.php b/core/Models/StatusModelAbstract.php index c8a871d74bfd68f726d6b28791ece31af46082a6..9dbb3903673e420618f359c7d6f7832249d918ed 100755 --- a/core/Models/StatusModelAbstract.php +++ b/core/Models/StatusModelAbstract.php @@ -28,12 +28,6 @@ class StatusModelAbstract return $aReturn; } - public static function getStatusLang() - { - $aLang = LangModel::getStatusLang(); - return $aLang; - } - public static function getById(array $aArgs = []) { ValidatorModel::notEmpty($aArgs, ['id']); diff --git a/core/Test/StatusControllerTest.php b/core/Test/StatusControllerTest.php index 3171f4df1573c38df0e8248e664c8afc27f4e8e2..09e56ca0d5d3d480a2ffae19623e32f4e5b905bb 100755 --- a/core/Test/StatusControllerTest.php +++ b/core/Test/StatusControllerTest.php @@ -109,7 +109,6 @@ class StatusControllerTest extends TestCase $this->assertNotNull($responseBody->status); $this->assertNotNull($responseBody->statusImages); - $this->assertNotNull($responseBody->lang); $compare = [ 'identifier' => $lastIdentifier,