[BUGFIX] Delete unavailable "recently switched to" users from UC 33/54433/7
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Wed, 18 Oct 2017 06:57:41 +0000 (08:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 19 Oct 2017 19:11:22 +0000 (21:11 +0200)
commit7eaf1907fa503793cebbb559e39df2090b40352b
tree41601fd9323f798be6c3302b4fbef8da51ec418a
parent0aa3123dce5224c1358ee2a60d9c0ea50f422e5a
[BUGFIX] Delete unavailable "recently switched to" users from UC

If a user who appears in the "Recently switched to" list became
unavailable for some reason, only the placeholder avatar was rendered,
giving a slight hint of life in the past.

Such users are now deleted from UC and do not appear in the list anymore.
Furthermore, the section label was slightly modified to be more
understandable.

For performance reasons, only one query is triggered now and sorting is
done based on the array of UIDs stored in UC.

Resolves: #82796
Related: #80581
Releases: master
Change-Id: Ieff8a779639f277de1c0cb7feaa0fe2b82bd97c5
Reviewed-on: https://review.typo3.org/54433
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Backend/ToolbarItems/UserToolbarItem.php
typo3/sysext/backend/Resources/Private/Language/locallang.xlf