[BUGFIX] Use database name property in admin_get_tables

The admin_get_tables method in the DatabaseConnection
uses the constant instead of the class property.
This delivers wrong results if using multiple
DatabaseConnection objects.

Use the class property instead.

Change-Id: I93e05fdabb53b170782c61ef4ebfa97190cddfb6
Resolves: #49738
Releases: 6.2, 6.1
Reviewed-on: https://review.typo3.org/22021
Reviewed-by: Markus Klein
Tested-by: Markus Klein
[BUGFIX] sys_file record doesn't get flagged as delete

File is deleted by driver and deleted property of FileObject is set by
ResourceStorage but new state is not persisted.

Update deleted property in updateProperties array in FileObject and
persist change.

Fixes: #48336
Releases: 6.2, 6.1, 6.0
Change-Id: I6cac106dcf89125e0b98b8b12a03c0b3f56d484f
Reviewed-on: https://review.typo3.org/20982
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
[BUGFIX] Add advice to RTEmagic wizard

The update wizard that migrates RTE magic images relies on
sys_refindex for finding the magic images. There should be
a warning in the wizard description that users should be sure
their reference index is up to date.

Resolves: #49727
Releases: 6.1, 6.2
Change-Id: I7301a4a52174424655a76b58c7b7856f5f5209a2
Reviewed-on: https://review.typo3.org/22007
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
[BUGFIX] CE:Image - backend preview of image order

The Backend preview does not reflect the sorting of the elements in the
content element. This patch added the sorting field from the TCA to the
thumbCode method.

Resolves: #48645
Releases: 6.2, 6.1, 6.0
Change-Id: I9dcec1c2baae226aeded9c4c93d368c067c0bad2
Reviewed-on: https://review.typo3.org/21975
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters