From b197487961e82abc5f0af5f260fd60ac64b44974 Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Fri, 24 Sep 2021 12:09:14 +0200 Subject: [PATCH] hotline #141852 remove outdated upgrade_db.php --- UPGRADE.fr.md | 2 +- VERSIONS_HOTLINE/141852 | 1 + cosmogramme/php/upgrade_db.php | 11 ----------- 3 files changed, 2 insertions(+), 12 deletions(-) create mode 100644 VERSIONS_HOTLINE/141852 delete mode 100644 cosmogramme/php/upgrade_db.php diff --git a/UPGRADE.fr.md b/UPGRADE.fr.md index 396b8969897..144e919c1f7 100644 --- a/UPGRADE.fr.md +++ b/UPGRADE.fr.md @@ -28,6 +28,6 @@ Vous devez positionner vos sources sur le tag choisi (vous référer notamment a La base de données peut être mise à jour en ligne de commande ou via l'interface. ``` -$ php cosmogramme/php/upgrade_db.php +$ php scripts/upgrade_db.php ``` diff --git a/VERSIONS_HOTLINE/141852 b/VERSIONS_HOTLINE/141852 new file mode 100644 index 00000000000..f7a484275c4 --- /dev/null +++ b/VERSIONS_HOTLINE/141852 @@ -0,0 +1 @@ + - ticket #141852 : Hébergement : Suppression d'un fichier obsolète de mise à jour de la base de données. Il faut utiliser exclusivement le fichier dans [mon-bokeh]/scripts/upgrade_db.php \ No newline at end of file diff --git a/cosmogramme/php/upgrade_db.php b/cosmogramme/php/upgrade_db.php deleted file mode 100644 index b211d6af14d..00000000000 --- a/cosmogramme/php/upgrade_db.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -$basePath = dirname(realpath(__FILE__)); -require_once 'classes/classe_cosmopaths.php'; - -$cosmo_path = new CosmoPaths(); -define('BASE_URL', $cosmo_path->getBaseUrl()); - -require_once($basePath.'/../storm_init.php'); -(new Class_Migration_ScriptPatchs())->runFrom(262); -(new Class_Template_Update)->run(); -?> \ No newline at end of file -- GitLab