Skip to content
Snippets Groups Projects
Commit 7b2dc40f authored by Steffen Gebert's avatar Steffen Gebert Committed by Tolleiv Nietsch
Browse files

[BUGFIX] TCEmain::clear_cacheCmd relies on active BE_USER

Several developers abuse t3lib_TCEmain and instantiate it also in other
contexts than BE, for which it never was made.

As this breaks several extensions that use it in FE or CLI mode and the
fix is trivial, avoid crashing.

Change-Id: I0998b4fc36bb803f82becbbca0137a7dfd43eb8a
Fixes: #28007
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7633
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
parent 15eb091b
Branches
Tags
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