From 9eae410d12dfd2851f511d7b5ecac6e7f306bebe Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Mon, 30 Jan 2006 05:45:02 +0000 Subject: [PATCH] Comment fixes git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@279 06cd67b6-e706-0410-b29e-9de616bca6e9 --- lib/Driver/ldap.php | 6 ++---- lib/Shout.php | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/Driver/ldap.php b/lib/Driver/ldap.php index 486b14c72..487806951 100644 --- a/lib/Driver/ldap.php +++ b/lib/Driver/ldap.php @@ -176,7 +176,7 @@ class Shout_Driver_ldap extends Shout_Driver } // }}} - // {{{ _checkContextType method + // {{{ checkContextType method /** * For the given context and type, make sure the context has the * appropriate properties, that it is effectively of that "type" @@ -344,9 +344,7 @@ type"); */ function getHomeContext() { - # FIXME Probably should key this off the domain part of the user's - # FIXME Auth::getAuth() and match context with associatedDomain - # FIXME Also, cache this lookup + # FIXME Cache this lookup? $basedn = SHOUT_USERS_BRANCH.','.$this->_params['basedn']; $filter = '(&'; diff --git a/lib/Shout.php b/lib/Shout.php index f25fe0a75..5c6bfa459 100644 --- a/lib/Shout.php +++ b/lib/Shout.php @@ -183,7 +183,6 @@ class Shout } $numparents--; } - $test = $superadmin | $user; return ($test & $permmask) == $permmask; } -- 2.11.0