Module: nagvis
Branch: master
Commit: 066a32707fe1288b138cbe3a31456c9033649d63
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=066a32707fe1288b138cbe3a31456c9033649d63

Author: Lars Michelsen <[email protected]>
Date:   Wed Aug  4 11:54:41 2010 +0200

Code cleanup

---

 .../core/classes/CoreAuthorisationHandler.php      |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/share/server/core/classes/CoreAuthorisationHandler.php 
b/share/server/core/classes/CoreAuthorisationHandler.php
index 4d0f1f1..7559175 100644
--- a/share/server/core/classes/CoreAuthorisationHandler.php
+++ b/share/server/core/classes/CoreAuthorisationHandler.php
@@ -293,12 +293,7 @@ class CoreAuthorisationHandler {
                        $bAutorized = false;
                }
                
-               // Authorized?
-               if($bAutorized === true) {
-                       return true;
-               } else {
-                       return false;
-               }
+               return $bAutorized;
        }
 }
 ?>


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to