N°6270 Remove empty model.*.php files

Not necessary anymore in 3.1.0 since :
* N°4875 - Compiler : do not force the model.*.php file to be present in the module.*.php file ('datamodel' key)
* N°4280 - Module loading : do not crash if 'datamodel' file doesn't exists (model.*.php)
This commit is contained in:
Pierre Goiffon
2023-05-04 11:15:37 +02:00
parent 03e22ce42d
commit 881aa87ad2
53 changed files with 3 additions and 305 deletions

View File

@@ -1,17 +0,0 @@
<?php
// PHP Data Model definition file
// WARNING - WARNING - WARNING
// DO NOT EDIT THIS FILE (unless you know what you are doing)
//
// If you use supply a datamodel.xxxx.xml file with your module
// the this file WILL BE overwritten by the compilation of the
// module (during the setup) if the datamodel.xxxx.xml file
// contains the definition of new classes or menus.
//
// The recommended way to define new classes (for iTop 2.0) is via the XML definition.
// This file remains in the module's template only for the cases where there is:
// - either no new class or menu defined in the XML file
// - or no XML file at all supplied by the module

View File

@@ -25,7 +25,6 @@ SetupWebPage::AddModule(
'datamodel' => array(
'menus.php',
'hubnewsroomprovider.class.inc.php',
'model.itop-hub-connector.php'
),
'webservice' => array(