[TYPO3-dev] Searching for hook

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Jun 16 12:56:53 CEST 2010


Hi!

Sascha Hierold wrote:
> With "use [$_EXTKEY]" you mean I define the hook by the following?
> 
> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp'][$_xxx_ad_sync]
> =
> 'EXT:xxx_ad_sync/class.tx_xxx_ad_sync_hooks.php:tx_xxx_ad_sync_hooks->syncAD';

No, you need to use $_EXTKEY, not $_xxx_ad_sync. $_xxx_ad_sync will not be
set but $_EXTKEY will be.

-- 
Dmitry Dulepov
TYPO3 expert / TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/




More information about the TYPO3-dev mailing list