[TYPO3-dam-devel] Hard-coded reference to cc_devlog in class tx_dam_indexing

Francois Suter fsuter at cobweb.ch
Fri Sep 12 13:38:32 CEST 2008


Hi all,

I discovered that there's a hard-coded reference to cc_devlog hidden 
away in the DAM, in file EXT:dam/lib/class.tx_dam_indexing.php, on line 237:

if ($this->writeDevLog AND 
!isset($TYPO3_CONF_VARS['EXTCONF']['cc_devlog']['pid'])) 
$TYPO3_CONF_VARS['EXTCONF']['cc_devlog']['pid'] = tx_dam_db::getPid();

This was used by cc_devlog to define a pid for a given devlog entry even 
when called from another context than the FE. This is actually quite 
convenient, but should be made more general. However I'm not sure where 
such a value should be stored. In what global variable? Any suggestions?

I would like to have a solution before cleaning up this line.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-dam mailing list