[TYPO3-core] RFC: Remove database.sql and replace its functionality dynamically

Holzinger Franz franz at fholzinger.com
Thu Dec 29 20:51:16 CET 2005


Hello Michael,

>This has been discussed last week already. I remember that someone said
>Karsten should do it, however I had some spare time in the train today and
>so I've made this patch.
You have a good memory.

>+++ typo3_src-4.0beta1/typo3/sysext/install/mod/class.tx_install.php  
 2005-12-28 19:58:21.000000000 +0100
>-                        reset($sFiles);
>+                        foreach ($sFiles as $f)    {
Is reset not needed here?

 chr(10).chr(10).chr(10).chr(10).t3lib_div::getUrl($loadedExtConf["ext_tables_static+adt.sql"]);

use '' instead of ""

>-                            reset($statements);
>                             $r=0;
>-                            while(list($k,$v)=each($statements))    {
>+                            foreach ($statements as $k=>$v)    {
Why did you remove the reset?



Greets,

Franz





More information about the TYPO3-team-core mailing list