Index: administrator/components/com_comprofiler/library/cb/cb.tables.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- administrator/components/com_comprofiler/library/cb/cb.tables.php (revision 1792) +++ administrator/components/com_comprofiler/library/cb/cb.tables.php (revision ) @@ -644,6 +644,27 @@ parent::moscomprofiler( $db ); if ( checkJversion() == 2 ) { $this->_cmsUserTableGid = 'usertype'; + $this->_reinitNonComprofileVars(); + } + } + /** + * Resets public properties + * + * @param mixed $value The value to set all properties to, default is null + */ + function reset( $value=null ) { + parent::reset( $value ); + $this->_reinitNonComprofileVars(); + } + /** + * Initializes non-comprofiler vars for CMS users table + * + * @return void + */ + protected function _reinitNonComprofileVars() { + if ( version_compare( checkJversion( 'release' ), '2.5', '>' ) || ( ( checkJversion( 'release' ) == '2.5' ) && ( checkJversion( 'dev_level' ) >= 5 ) ) ) { + $this->_nonComprofilerVars[] = 'lastResetTime'; + $this->_nonComprofilerVars[] = 'resetCount'; } } /**