Skip to content

Instantly share code, notes, and snippets.

@nxpthx
Created December 12, 2013 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nxpthx/7924976 to your computer and use it in GitHub Desktop.
Save nxpthx/7924976 to your computer and use it in GitHub Desktop.
Make tt_address 6.2 usable
diff --git a/tt_address/class.tx_ttaddress_addfilestosel.php b/tt_address/class.tx_ttaddress_addfilestosel.php
index 1795a3e..28af23a 100644
--- a/tt_address/class.tx_ttaddress_addfilestosel.php
+++ b/tt_address/class.tx_ttaddress_addfilestosel.php
@@ -22,9 +22,6 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
-require_once(PATH_t3lib.'class.t3lib_page.php');
-require_once(PATH_t3lib.'class.t3lib_tstemplate.php');
-require_once(PATH_t3lib.'class.t3lib_tsparser_ext.php');
/**
@@ -43,7 +40,6 @@ class tx_ttaddress_addfilestosel {
* @return void
*/
function main(&$params,&$pObj) {
-
// get the current page ID
$thePageId = $params['row']['pid'];
diff --git a/tt_address/class.tx_ttaddress_tcefunc_selecttreeview.php b/tt_address/class.tx_ttaddress_tcefunc_selecttreeview.php
index 29fc488..1193640 100644
--- a/tt_address/class.tx_ttaddress_tcefunc_selecttreeview.php
+++ b/tt_address/class.tx_ttaddress_tcefunc_selecttreeview.php
@@ -24,16 +24,14 @@
***************************************************************/
-require_once(PATH_t3lib.'class.t3lib_treeview.php');
-
/**
* extends t3lib_treeview to change function wrapTitle().
*
* This function displays a selector with nested groups. The original code is
* borrowed from the extension "Digital Asset Management" (tx_dam),
- * author: René Fritz <r.fritz@colorcube.de>
+ * author: RenÔøΩ Fritz <r.fritz@colorcube.de>
*
- * @author René Fritz <r.fritz@colorcube.de>
+ * @author RenÔøΩ Fritz <r.fritz@colorcube.de>
* @author Ingo Renner <typo3@ingo-renner.com>
* @package TYPO3
* @subpackage tt_address
diff --git a/tt_address/pi1/class.tx_ttaddress_pi1.php b/tt_address/pi1/class.tx_ttaddress_pi1.php
index ed0d023..5fccfa9 100644
--- a/tt_address/pi1/class.tx_ttaddress_pi1.php
+++ b/tt_address/pi1/class.tx_ttaddress_pi1.php
@@ -22,8 +22,6 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
-require_once(PATH_tslib.'class.tslib_pibase.php');
-
/**
* main class for the tt_address plugin, outputs addresses either by direct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment