2 namespace TYPO3\CMS\Install\Updates;
27 protected $title =
'Installs extension "mediace" from TER if media elements are used.';
39 'title' =>
'Media Content Element',
40 'description' =>
'The media functionality from TYPO3 6.2 and earlier can be found here. This extension provides ContentObjects and Content Elements.',
41 'versionString' =>
'7.6.0',
56 $updateNeeded =
false;
61 'CType IN (\'media\', \'multimedia\') AND deleted=0'
64 if ($amountOfMediaElements === 0) {
65 $updateNeeded =
false;
69 $description =
'The extension "mediace" (Media Content Element) was extracted into the TYPO3 Extension Repository. ' .
70 'This update checks if media content elements are used and downloads the TYPO3 Extension from the TER.';
82 public function performUpdate(array &$databaseQueries, &$customMessages)
84 $updateSuccessful = $this->installExtension($this->extensionKey, $customMessages);
85 if ($updateSuccessful) {