[TASK] Clean-up several whitespaces and PHPdoc comments
[Packages/TYPO3.CMS.git] / typo3 / file_rename.php
index 7e4ac54..af2a024 100644 (file)
  *
  * @author     Kasper Skårhøj <kasperYYYY@typo3.com>
  */
-/**
- * [CLASS/FUNCTION INDEX of SCRIPT]
- *
- *
- *
- *   74: class SC_file_rename
- *   96:     function init()
- *  149:     function main()
- *  192:     function printContent()
- *
- * TOTAL FUNCTIONS: 3
- * (This index is automatically created/updated by the extension "extdeveval")
- *
- */
 
 
 
@@ -54,13 +40,6 @@ require('template.php');
 
 
 
-
-
-
-
-
-
-
 /**
  * Script Class for the rename-file form.
  *
@@ -102,15 +81,13 @@ class SC_file_rename {
         * @return      void
         */
        function init() {
-               global $TYPO3_CONF_VARS;
-
                        // Initialize GPvars:
                $this->target = t3lib_div::_GP('target');
                $this->returnUrl = t3lib_div::sanitizeLocalUrl(t3lib_div::_GP('returnUrl'));
 
                        // Init basic-file-functions object:
                $this->basicff = t3lib_div::makeInstance('t3lib_basicFileFunctions');
-               $this->basicff->init($GLOBALS['FILEMOUNTS'],$TYPO3_CONF_VARS['BE']['fileExtensions']);
+               $this->basicff->init($GLOBALS['FILEMOUNTS'],$GLOBALS['TYPO3_CONF_VARS']['BE']['fileExtensions']);
 
                        // Cleaning and checking target
                if (file_exists($this->target)) {