Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
790fa271
Commit
790fa271
authored
Apr 30, 2017
by
Carsten Rose
Browse files
QuickFormQuery.php: cleanup unused, already commented, code.
parent
1259961b
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/QuickFormQuery.php
View file @
790fa271
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment