Commit f171a7017769fde3c092a895c086b02fce2172a0
1 parent
21e45027
Exists in
master
Alterado API DynamicInput/CompononenteCurricular para não requerer escola_id, um…
…a vez que este é obtivo via sql, pelo código da turma recebido.
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
ieducar/modules/DynamicInput/Views/ComponenteCurricularController.php
... | ... | @@ -50,8 +50,7 @@ class ComponenteCurricularController extends ApiCoreController |
50 | 50 | { |
51 | 51 | |
52 | 52 | protected function canGetComponentesCurriculares() { |
53 | - return $this->validatesId('escola') && | |
54 | - $this->validatesId('turma') && | |
53 | + return $this->validatesId('turma') && | |
55 | 54 | $this->validatesPresenceOf('ano'); |
56 | 55 | } |
57 | 56 | ... | ... |