[pLog-svn] r3034 - plog/trunk/class/dao/userdata
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Mon Mar 6 15:47:34 GMT 2006
Author: oscar
Date: 2006-03-06 15:47:34 +0000 (Mon, 06 Mar 2006)
New Revision: 3034
Modified:
plog/trunk/class/dao/userdata/ploguserdataprovider.class.php
Log:
fixed one annoying notice that actually helped to find a hidden potentially big issue
Modified: plog/trunk/class/dao/userdata/ploguserdataprovider.class.php
===================================================================
--- plog/trunk/class/dao/userdata/ploguserdataprovider.class.php 2006-03-06 10:49:07 UTC (rev 3033)
+++ plog/trunk/class/dao/userdata/ploguserdataprovider.class.php 2006-03-06 15:47:34 UTC (rev 3034)
@@ -122,8 +122,8 @@
$user = $this->mapRow( $row );
$users[] = $user;
// cache the data for later use
- $this->_cache->setData( $user->getId(), $user, CACHE_USERINFO );
- $this->_cache->setData( $user->getUsername(), $user, CACHE_USERIDBYNAME );
+ $this->_cache->setData( $user->getId(), CACHE_USERINFO, $user );
+ $this->_cache->setData( $user->getUsername(), CACHE_USERIDBYNAME, $user );
}
return $users;
More information about the pLog-svn
mailing list