Bug #20751 ยป 0011526.patch
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);
|
||
}
|
||
}
|
||