[pLog-svn] r5003 - plog/branches/lifetype-1.2/class/dao/userdata

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Tue Mar 6 11:38:33 EST 2007


Author: jondaley
Date: 2007-03-06 11:38:33 -0500 (Tue, 06 Mar 2007)
New Revision: 5003

Modified:
   plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php
Log:
always return a value from deleteUser.  http://forums.lifetype.net/viewtopic.php?t=6030

Modified: plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php	2007-03-06 13:50:21 UTC (rev 5002)
+++ plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php	2007-03-06 16:38:33 UTC (rev 5003)
@@ -262,10 +262,11 @@
     	        $perms = new UserPermissions();
         	    $perms->revokeUserPermissions( $userId );
         	    $this->_cache->removeData( $userId, CACHE_USERINFO );
-        	    $this->_cache->removeData( $user->getUsername(), CACHE_USERIDBYNAME );                        
+        	    $this->_cache->removeData( $user->getUsername(), CACHE_USERIDBYNAME );
+                return true;
             }
-            else
-            	return( false );
+            
+            return false;
         }  
         
         /**



More information about the pLog-svn mailing list