Project

General

Profile

Bug #20751 ยป 0011526.patch

Administrator Admin, 2009-07-14 13:40

View differences:

typo3/sysext/cms/tslib/class.tslib_feuserauth.php (Arbeitskopie)
if ($sesDataRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbres)) {
$this->sesData = unserialize($sesDataRow['content']);
}
$GLOBALS['TYPO3_DB']->sql_free_result($dbres);
}
// delete old data:
if ((rand()%100) <= 1) { // a possibility of 1 % for garbage collection.
......
$count = true;
$this->sesData = unserialize($sesDataRow['content']);
}
$GLOBALS['TYPO3_DB']->sql_free_result($dbres);
}
}
......
if ($sesDataRow = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($dbres)) {
$count = true;
}
$GLOBALS['TYPO3_DB']->sql_free_result($dbres);
}
}
    (1-1/1)