Project

General

Profile

Actions

Bug #54866

closed

make ExtensionManagementUtility known to ext_localconf.php

Added by Franz Holzinger almost 11 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

During to the upgrade process for TYPO3 6.2 it is necessary to update the files ext_localconf.php and ext_tables.php of an extension.
So e.g. a call

t3lib_extMgm::extPath('myextkey')

must be replaced by
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('myextkey')

However this adds many more characters to those files.

I would like to use this short call:

ExtensionManagementUtility::extPath('myextkey')

So add a global "use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;" before the files ext_localconf.php and ext_tables.php are included.

Actions #1

Updated by Markus Klein almost 11 years ago

Why do you need to change that??
t3lib_extMgm should work as always

Actions #2

Updated by Markus Klein almost 11 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Franz Holzinger almost 11 years ago

t3lib_extMgm works for now. But who says, that 't3lib_extMgm' will work forever in all future versions of TYPO3?

t3lib_extMgm does not exist as a file name any more. So I assume that it will be removed one day.

Actions #4

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to New
Actions #5

Updated by Christian Kuhn almost 10 years ago

  • Status changed from New to Rejected

Hey. This was discussed a while ago and we decided to not add a generic "use" before inclusion of these files. I'm sorry, but in this case you will have to live the the full name.

Actions

Also available in: Atom PDF