[Typo3-dev] System Extensions, part II
Martin T. Kutschker
Martin.no5pam.Kutschker at blackbox.n0spam.net
Fri Nov 19 10:12:00 CET 2004
Kasper Skårhøj wrote:
>>Sidenote: I found some hardcoded parts of tt_news in the Core. Will they
>>go away in the next release?
>
> Where?
eg class.t3lib_userauthgroup.php
if (t3lib_extMgm::isLoaded('tt_news')) {
$this->TSdataArray[]='
// Setting defaults for tt_news author / email...
TCAdefaults.tt_news.author = '.$this->user['realName'].'
TCAdefaults.tt_news.author_email = '.$this->user['email'].'
';
}
It's protected by isLoaded() but I don't like such "weak reverse
dependencies". IMHO it's better have one more hook in the Core than such
constructs. I disapprove in favouring specific extensions.
Masi
More information about the TYPO3-dev
mailing list