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,22 +0,0 @@
<?php
/**
* Copyright (C) 2013-2023 Combodo SARL
*
* This file is part of iTop.
*
* iTop is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* iTop is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
*/
// This file may be amended with XML snippets

View File

@@ -34,7 +34,6 @@ SetupWebPage::AddModule(
// Note: The autoloader is there instead of portal/config/bootstrap.php in order to be available for other modules with a dependency on this one.
// eg. If a module has a class extending \Combodo\iTop\Portal\Controller\AbstractController, it needs to find it even if the portal kernel is not loaded.
'portal/vendor/autoload.php',
'model.itop-portal-base.php',
),
'webservice' => array(
//'webservices.itop-portal-base.php',