[TYPO3-dev] how to hook into tcemain within core files

Georg Ringer news at ringerge.org
Mon Feb 8 07:55:35 CET 2010


Hi,

I stumbled over the bug #1960: t3lib_BEfunc::blindUserNames() does not
work sometimes [1] while working on the extension taskcenter_recent but
the bug also occurs within the sysext belog.

The Problem in short: The field user_group_cached in fe_users holds all
groups a user belongs to (including sbgroups, ...). After changing the
groups of a user, the field doesn't get changed and therefore the value
is of course wrong.

The only change will happen inside the module beuser. You probably know
the info text "(All cached group-lists updated.)"

Now my question: Some lines code which you can also get from the last
comment inside the bugtracker entry resolve this problem but I don't
know how to include those lines within the core. Is there an example how
to use afterDatabaseOperations inside the core as I don't can bind this
to a specific sysext like beuser or belog

Georg

[1] http://bugs.typo3.org/view.php?id=1960




More information about the TYPO3-dev mailing list