From bc26a8b285488212fed3d168a1e35be1df67ec7b Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 2 Oct 2009 20:29:51 +0000 Subject: [PATCH] Replaced $HTTP_GET_VARS (deprecated) by $_GET in updates.php Monotone-Parent: 6b701660e1b1301f2a55944ee5d70d4e92f44cd9 Monotone-Revision: 78c904fcb43f31b69c25bf38ddb9ef55499ed4e0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-10-02T20:29:51 Monotone-Branch: ca.inverse.sogo --- Scripts/updates.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/updates.php b/Scripts/updates.php index ae49476e9..bcc6a4ce8 100755 --- a/Scripts/updates.php +++ b/Scripts/updates.php @@ -22,7 +22,7 @@ */ /* This script handles the automatic propagation of extensions pertaining to a - SOGo site */ + SOGo site. It requires PHP 4.1.0 or later. */ $plugins = array( "sogo-connector@inverse.ca" => array( "application" => "thunderbird", @@ -45,12 +45,12 @@ $applications 1.5 2.0.*" ); -$pluginname = $HTTP_GET_VARS["plugin"]; +$pluginname = $_GET["plugin"]; $plugin =& $plugins[$pluginname]; $application =& $applications[$plugin["application"]]; if ( $plugin ) { - $platform = $HTTP_GET_VARS["platform"]; + $platform = $_GET["platform"]; if ( $platform && file_exists( $platform . "/" . $plugin["filename"] ) ) { $plugin["filename"] = $platform . "/" . $plugin["filename"];