[pLog-svn] r2935 - plog/trunk/class/dao

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Feb 9 18:14:55 GMT 2006


Author: mark
Date: 2006-02-09 18:14:55 +0000 (Thu, 09 Feb 2006)
New Revision: 2935

Modified:
   plog/trunk/class/dao/users.class.php
Log:
Remove the debug log, since the users class does not inherit Loggable class. 

Another reason to remove this is to reduce the php notice.

Modified: plog/trunk/class/dao/users.class.php
===================================================================
--- plog/trunk/class/dao/users.class.php	2006-02-09 17:57:57 UTC (rev 2934)
+++ plog/trunk/class/dao/users.class.php	2006-02-09 18:14:55 UTC (rev 2935)
@@ -31,10 +31,6 @@
 	        
 	        // see which class has been configured as the user data provider
 	        $providerClass = $config->getValue( "provider" );
-	        
-            if( DEBUG_ENABLED && DEBUG_CHANNELS & DEBUG_CHANNEL_USERMANAGEMENT )
-                $this->debug->info( "Tring to load provider: $providerClass" );
-	        
 	        if( !$providerClass ) {
 		     	die( "ERROR: No provider class was specified in userdata.properties.php!" );   
 	        }
@@ -79,10 +75,6 @@
         function getUserInfo( $username, $pass = null )
         {
             if( $pass != null ) {
-                if( DEBUG_ENABLED && DEBUG_CHANNELS & DEBUG_CHANNEL_USERMANAGEMENT )
-                    $this->debug->log("getUserInfo is deprecated for authentication, 
-                                       please use authenticateUser() instead", 
-                                       LOGGER_PRIO_WARN );
                 if( !$this->authenticateUser($username, $pass) )
                     return false;
             }



More information about the pLog-svn mailing list