Review main Abandoned

23670[BUGFIX] TCEmain::log relies on active BE_USER

Stefan Neufeind CR 0 V 0 Easy +1 −1 updated 01/09/15, 01:50

Commit message

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.

In case logging is enabled but there exists no BE_USER, simply
prevent logging.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1