[TYPO3-project-4-3] [TYPO3-dev] Cleaning up t3lib-filenames

Martin Kutschker masi-no at spam-typo3.org
Wed Sep 30 21:16:25 CEST 2009


Dmitry Dulepov schrieb:

>>> The whole procedure may not be presented as a diff as existing files
>>> are renamed (and moved) and new
>>> files are added in their stead.
>>>
>>> eg
>>> svn mv class.t3lib_page.php class.t3lib_pageselect.php
>>> mv class.t3lib_page-compat.php class.t3lib_page.php
>>> svn add class.t3lib_page.php
> 
> This will erase history. This will keep all history:
> 
> svn mv
> https://svn.typo3.org/TYPO3v4/Core/trunk/t3lib/class.t3lib_page.php
> https://svn.typo3.org/TYPO3v4/Core/trunk/t3lib/class.t3lib_pageselect.php

Thanx, but I have omitted the URL for brevity. Of course the rename has to be done in the repository.

>>> The compatibility file (class.t3lib_page.php) contains only one line:
>>>
>>> require_once(PATH_t3lib . 'class.t3lib_pageselect.php');
>>>
>>> Because of the autoloader this isn't really necessary, but so the
>>> file is at least not empty.
> 
> It is not just for the autoloader. Extensions may have require_once for
> such files and they will be broken if this file is missing. So these
> files are necessary.

Masi


More information about the TYPO3-project-4-3 mailing list