remove test for user "plugin-only" they don't exist anymore
This commit is contained in:
parent
bc59ff33a9
commit
a8d910bcb6
1 changed files with 0 additions and 8 deletions
|
|
@ -134,16 +134,8 @@ if ( $User->admin == 0 || (defined("MULTI")&& MULTI == 0 ) )
|
|||
if ( $folder != null && count($folder) == 1 )
|
||||
{
|
||||
|
||||
if ( $User->check_dossier($folder[0]['dos_id']) == 'P')
|
||||
{
|
||||
redirect('extension.php?gDossier='.$folder[0]['dos_id']);
|
||||
exit();
|
||||
}
|
||||
else
|
||||
{
|
||||
redirect('do.php?gDossier='.$folder[0]['dos_id']);
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue