Commit 790fa271 authored by Carsten  Rose's avatar Carsten Rose
Browse files

QuickFormQuery.php: cleanup unused, already commented, code.

parent 1259961b
......@@ -124,21 +124,8 @@ class QuickFormQuery {
mb_internal_encoding("UTF-8");
// session_name(SESSION_NAME);
// session_start();
$this->session = Session::getInstance($phpUnit);
// session.cache_expire
// session.cookie_lifetime
// session.gc_maxlifetime
// $arr1['sessionname'] = session_name();
// $arr1['session.auto_start'] = ini_get('session.auto_start');
// $arr1['session.gc_maxlifetime'] = ini_get('session.gc_maxlifetime');
// $arr1['session.cookie_lifetime'] = ini_get('session.cookie_lifetime');
// $arr1['session.name'] = ini_get('session.name');
// Refresh the session even if no new data saved.
Session::set('LAST_ACTIVITY', time());
......@@ -183,7 +170,6 @@ class QuickFormQuery {
*/
public function process() {
$html = '';
$rcHasDownloadLinks = false;
if ($this->store->getVar(TYPO3_DEBUG_SHOW_BODY_TEXT, STORE_TYPO3) === 'yes') {
$htmlId = HelperFormElement::buildFormElementId($this->formSpec[F_ID], 0, 0, 0);
......@@ -203,11 +189,6 @@ class QuickFormQuery {
$html = Support::wrapTag("<div class='$class'>", $html);
}
// $feUidLoggedIn = isset($GLOBALS["TSFE"]->fe_user->user["uid"]) ? $GLOBALS["TSFE"]->fe_user->user["uid"] : false;
// $feUidSession = $_SESSION[SESSION_NAME][SESSION_FE_USER_UID];
// $html .= "<p>feUidLoggedIn: $feUidLoggedIn / feUidSession: $feUidSession</p>";
return $html;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment