noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 02/05: remove test for user "plugin-only" the


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 02/05: remove test for user "plugin-only" they don't exist anymore
Date: Wed, 02 Dec 2015 14:20:02 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit a8d910bcb641fc6e91a651d85a12370e4a7bf916
Author: Dany De Bontridder <address@hidden>
Date:   Tue Dec 1 18:24:40 2015 +0100

    remove test for user "plugin-only" they don't exist anymore
---
 html/user_login.php |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/html/user_login.php b/html/user_login.php
index e0d3497..31c3c5f 100644
--- a/html/user_login.php
+++ b/html/user_login.php
@@ -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();
-        }
     }
 
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]