From b3685e6ac22bc86b8b5206fe2ec3093c059083c3 Mon Sep 17 00:00:00 2001 From: efalcy <efalcy@afi-sa.fr> Date: Fri, 16 Jan 2015 18:06:59 +0100 Subject: [PATCH] dev #18867 : add comment on script import_typo3 --- scripts/import_typo3.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/import_typo3.php b/scripts/import_typo3.php index 053d399b7ae..442bb38a5f0 100644 --- a/scripts/import_typo3.php +++ b/scripts/import_typo3.php @@ -2,8 +2,8 @@ /* * Launch import_typo3.php like: * php import_typo3.php <arg> - * <arg> can be users (import users only), articles (import articles only) or all (import all) - * + * <arg> can be users (import users only), articles (import articles only), all (import all) + * or update (don't destroy database) * Script import data in a database named miop_typo3. To change it, edit the line 109. */ @@ -12,10 +12,9 @@ require('console.php'); $toRun = $argv[1]; Class_Import_Typo3_Logs::getInstance()->activateOutput(); - Class_CustomField_Model::registerAll([ - new Class_CustomField_ModelConfiguration_Article() - - ]); +Class_CustomField_Model::registerAll([ + new Class_CustomField_ModelConfiguration_Article() + ]); $migration = new Class_Import_Typo3(); $migration->run($toRun); -- GitLab