mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
- Added permissions and linked them to user admin in dump.sql
- Modified validate methods to public for classes benutzer, student and mitarbeiter
This commit is contained in:
@@ -83,7 +83,7 @@ class benutzer extends person
|
||||
* auf Gueltigkeit.
|
||||
* @return true wenn ok, false im Fehlerfall
|
||||
*/
|
||||
protected function validate()
|
||||
public function validate()
|
||||
{
|
||||
if(mb_strlen($this->uid)>32)
|
||||
{
|
||||
|
||||
@@ -112,7 +112,7 @@ class mitarbeiter extends benutzer
|
||||
* ueberprueft die Variablen auf Gueltigkeit
|
||||
* @return true wenn gueltig, false im Fehlerfall
|
||||
*/
|
||||
protected function validate()
|
||||
public function validate()
|
||||
{
|
||||
//if(mb_strlen($this->uid)>16)
|
||||
//{
|
||||
|
||||
@@ -106,7 +106,7 @@ class student extends benutzer
|
||||
* auf Gueltigkeit.
|
||||
* @return true wenn ok, false im Fehlerfall
|
||||
*/
|
||||
protected function validate()
|
||||
public function validate()
|
||||
{
|
||||
if(mb_strlen($this->uid)>32)
|
||||
{
|
||||
|
||||
+859
-435
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user