From 625e832024143afce628914722b641406ee83683 Mon Sep 17 00:00:00 2001 From: Guillaume Bandet Date: Fri, 11 Jul 2008 12:26:47 +0200 Subject: [PATCH] Removes a useless inclusion of applis.func.inc.php in profil.func.inc.php External scripts no longer need to create a XorgPage to include profil.func.inc.php --- bin/cron/phones.check.php | 5 ----- include/profil.func.inc.php | 1 - upgrade/fusionax-0.0.1/phones.php | 6 ------ 3 files changed, 12 deletions(-) diff --git a/bin/cron/phones.check.php b/bin/cron/phones.check.php index 6f8e14d..077e2fe 100755 --- a/bin/cron/phones.check.php +++ b/bin/cron/phones.check.php @@ -2,11 +2,6 @@ debug = 0; //do not store backtraces diff --git a/include/profil.func.inc.php b/include/profil.func.inc.php index 24d5b7e..0bd75d0 100644 --- a/include/profil.func.inc.php +++ b/include/profil.func.inc.php @@ -20,7 +20,6 @@ ***************************************************************************/ -require_once('applis.func.inc.php'); function replace_ifset(&$var,$req) { if (Env::has($req)){ diff --git a/upgrade/fusionax-0.0.1/phones.php b/upgrade/fusionax-0.0.1/phones.php index 6eea87c..63018a0 100755 --- a/upgrade/fusionax-0.0.1/phones.php +++ b/upgrade/fusionax-0.0.1/phones.php @@ -1,16 +1,10 @@ #!/usr/bin/php5 debug = 0; //do not store backtraces - // Convert phone prefixes from varchar to int $prefixes = XDB::iterRow("SELECT a2, phoneprf FROM geoloc_pays WHERE phoneprf IS NOT NULL"); while (list($id, $pref) = $prefixes->next()) { -- 2.1.4