kaystrobach / TYPO3.piwikintegration

Piwik backend integration for TYPO3
http://forge.typo3.org/projects/extension-piwikintegration/
GNU General Public License v2.0
6 stars 10 forks source link

Update usages of $GLOBALS['TYPO3_DB'] #102

Closed Chrissitopher closed 5 years ago

Chrissitopher commented 5 years ago

For the variables these are the places to look at:

find -type f -exec grep -l "TYPO3_DB" {} \;
./piwikintegration/Classes/Tracking/Tracking.php
./piwikintegration/Classes/Hooks/BeUserProcessing.php
./piwikintegration/Classes/Lib/Div.php
./piwikintegration/Classes/Lib/Config.php
./piwikintegration/Classes/Lib/Extmgm.php
./piwikintegration/pi1/class.tx_piwikintegration_flexform.php
./piwikintegration/class.ext_update.php

See http://jans-blog.helke.de/2016/04/14/migrate-from-the-typo3-database-wrapper-to-the-doctrine-dbal-syntax/ for migration examples.