move Seminary and Character data determination to SeminaryRoleController
This commit is contained in:
parent
f64e19e273
commit
39643f4e36
9 changed files with 38 additions and 59 deletions
|
|
@ -35,15 +35,15 @@
|
|||
*/
|
||||
public function index()
|
||||
{
|
||||
if(is_null(IntermediateController::$seminary)) {
|
||||
if(is_null(SeminaryRoleController::$seminary)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Get Seminary
|
||||
$seminary = IntermediateController::$seminary;
|
||||
$seminary = SeminaryRoleController::$seminary;
|
||||
|
||||
// Get Character
|
||||
$character = IntermediateController::$character;
|
||||
$character = SeminaryRoleController::$character;
|
||||
if(is_null($character)) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue