From ed12e3e9011ef70b342daa49854bdcb762d41f32 Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Tue, 8 Nov 2005 21:33:06 +0000 Subject: [PATCH] include superflus --- ecrire/inc_aide_index.php | 2 -- ecrire/inc_articles.php | 2 -- ecrire/inc_majbase.php3 | 1 - ecrire/install.php3 | 1 - ecrire/upgrade.php3 | 1 - inc-calcul.php3 | 1 - 6 files changed, 8 deletions(-) diff --git a/ecrire/inc_aide_index.php b/ecrire/inc_aide_index.php index 91d9c8c43e..844fd7326e 100644 --- a/ecrire/inc_aide_index.php +++ b/ecrire/inc_aide_index.php @@ -12,10 +12,8 @@ include_ecrire ("inc_minipres.php"); -include_ecrire ("inc_filtres.php3"); include_ecrire ("inc_layer.php3"); include_ecrire ("inc_texte.php3"); -include_ecrire ("inc_lang.php3"); ///////////////////////////// // La frame de base diff --git a/ecrire/inc_articles.php b/ecrire/inc_articles.php index 446da1e01a..b8c711d3f1 100644 --- a/ecrire/inc_articles.php +++ b/ecrire/inc_articles.php @@ -488,8 +488,6 @@ function changer_statut_articles($id_article, $statut) if ($statut != $statut_ancien) { spip_query("UPDATE spip_articles SET statut='$statut', date=NOW() WHERE id_article=$id_article"); include_ecrire("inc_rubriques.php3"); - include_ecrire('inc_lang.php3'); - include_ecrire('inc_filtres.php3'); include_ecrire('inc_texte.php3'); calculer_rubriques(); diff --git a/ecrire/inc_majbase.php3 b/ecrire/inc_majbase.php3 index dabefa5d1b..7e67c88e1d 100644 --- a/ecrire/inc_majbase.php3 +++ b/ecrire/inc_majbase.php3 @@ -23,7 +23,6 @@ function maj_version ($version, $test = true) { ecrire_metas(); spip_log("mise a jour de la base vers $version"); } else { - include_ecrire ('inc_lang.php3'); echo _T('alerte_maj_impossible', array('version' => $version)); exit; } diff --git a/ecrire/install.php3 b/ecrire/install.php3 index c09e416fd9..87d34bff16 100644 --- a/ecrire/install.php3 +++ b/ecrire/install.php3 @@ -159,7 +159,6 @@ if ($etape == 6) { include_ecrire("inc_config.php3"); init_config(); - init_langues(); include_ecrire ("inc_acces.php3"); ecrire_acces(); diff --git a/ecrire/upgrade.php3 b/ecrire/upgrade.php3 index c203f7fb07..02f13f6e14 100644 --- a/ecrire/upgrade.php3 +++ b/ecrire/upgrade.php3 @@ -88,7 +88,6 @@ if ($ok) { ."&redirect=" . _DIR_RESTREINT_ABS . "index.php3"); } else { - include_ecrire ('inc_lang.php3'); echo _T('alerte_maj_impossible', array('version' => $spip_version)); exit; } diff --git a/inc-calcul.php3 b/inc-calcul.php3 index e7dff6e557..42d706e9d6 100644 --- a/inc-calcul.php3 +++ b/inc-calcul.php3 @@ -23,7 +23,6 @@ define("_INC_CALCUL", "1"); include_ecrire("inc_meta.php3"); include_ecrire("inc_index.php3"); include_ecrire("inc_texte.php3"); -include_ecrire("inc_filtres.php3"); include_ecrire("inc_lang.php3"); include_ecrire("inc_documents.php3"); include_ecrire("inc_abstract_sql.php3"); -- GitLab