mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Make Dieter Dummy lecturer seemingly disappear
- deactivate profile page (error message is shown) - removed from CIS search results - no profile link in lvplan
This commit is contained in:
@@ -127,6 +127,9 @@ if (!$user->load($uid))
|
||||
|
||||
if ($type == 'mitarbeiter')
|
||||
{
|
||||
if (isset($user->personalnummer) && is_numeric($user->personalnummer) && (int)$user->personalnummer < 0)
|
||||
die($p->t('profil/keinGueltigesProfil'));
|
||||
|
||||
$vorwahl = '';
|
||||
$kontakt = new kontakt();
|
||||
$kontakt->loadFirmaKontakttyp($user->standort_id,'telefon');
|
||||
|
||||
Reference in New Issue
Block a user