mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
bugfix phrases tabulator, refactor Prestudent.js using FHCAPI_CONTROLLER
This commit is contained in:
@@ -15,6 +15,15 @@ class Prestudentstatus_model extends DB_Model
|
||||
$this->dbTable = 'public.tbl_prestudentstatus';
|
||||
$this->pk = array('ausbildungssemester', 'studiensemester_kurzbz', 'status_kurzbz', 'prestudent_id');
|
||||
$this->hasSequence = false;
|
||||
|
||||
/* $CI =& get_instance();
|
||||
|
||||
$CI->load->library('PhrasesLib');
|
||||
|
||||
// Load language phrases
|
||||
$CI->loadPhrases([
|
||||
'ui', 'lehre'
|
||||
]);*/
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -375,7 +384,7 @@ class Prestudentstatus_model extends DB_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
return success("1","Diese Rolle ist bereits vorhanden!");
|
||||
return success("1", $this->p->t('studierendenantrag','error_rolleBereitsVorhanden'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user