From: Guillaume Bandet Date: Fri, 11 Jul 2008 10:26:47 +0000 (+0200) Subject: Removes a useless inclusion of applis.func.inc.php in profil.func.inc.php X-Git-Tag: xorg/1.0.0~332^2~539 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=625e832024143afce628914722b641406ee83683;p=platal.git 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 --- 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()) {