@@ -5,28 +5,28 @@ |
||
5 | 5 | |
6 | 6 | class ext_update { |
7 | 7 | |
8 | - /** |
|
9 | - * Main function, returning the HTML content |
|
10 | - * |
|
11 | - * @return string HTML |
|
12 | - */ |
|
13 | - function main() { |
|
14 | - $content = ''; |
|
15 | - $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager'); |
|
8 | + /** |
|
9 | + * Main function, returning the HTML content |
|
10 | + * |
|
11 | + * @return string HTML |
|
12 | + */ |
|
13 | + function main() { |
|
14 | + $content = ''; |
|
15 | + $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager'); |
|
16 | 16 | |
17 | - /** @var ClassCacheManager $classCacheManager */ |
|
18 | - $classCacheManager = $objectManager->get('SJBR\\StaticInfoTables\\Cache\\ClassCacheManager'); |
|
19 | - $classCacheManager->reBuild(); |
|
17 | + /** @var ClassCacheManager $classCacheManager */ |
|
18 | + $classCacheManager = $objectManager->get('SJBR\\StaticInfoTables\\Cache\\ClassCacheManager'); |
|
19 | + $classCacheManager->reBuild(); |
|
20 | 20 | |
21 | - /** @var DatabaseUpdateUtility $databaseUpdateUtility */ |
|
22 | - $databaseUpdateUtility = $objectManager->get('SJBR\\StaticInfoTables\\Utility\\DatabaseUpdateUtility'); |
|
23 | - $databaseUpdateUtility->doUpdate('static_info_tables_zh'); |
|
21 | + /** @var DatabaseUpdateUtility $databaseUpdateUtility */ |
|
22 | + $databaseUpdateUtility = $objectManager->get('SJBR\\StaticInfoTables\\Utility\\DatabaseUpdateUtility'); |
|
23 | + $databaseUpdateUtility->doUpdate('static_info_tables_zh'); |
|
24 | 24 | |
25 | - $content .= '<p>' . \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('updateLanguageLabels', 'StaticInfoTables') . ' static_info_tables_zh.</p>'; |
|
26 | - return $content; |
|
27 | - } |
|
25 | + $content .= '<p>' . \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('updateLanguageLabels', 'StaticInfoTables') . ' static_info_tables_zh.</p>'; |
|
26 | + return $content; |
|
27 | + } |
|
28 | 28 | |
29 | - function access() { |
|
30 | - return TRUE; |
|
31 | - } |
|
29 | + function access() { |
|
30 | + return TRUE; |
|
31 | + } |
|
32 | 32 | } |
33 | 33 | \ No newline at end of file |