Updated scripts for TB31

pull/3/head
Ludovic Marcotte 2014-09-26 14:15:32 -04:00
parent 9e1423cd4a
commit 5744d18474
1 changed files with 9 additions and 12 deletions

View File

@ -1,10 +1,7 @@
<?php <?php
/* updates.php - this file is part of SOGo /* updates.php - this file is part of SOGo
* *
* Copyright (C) 2006-2013 Inverse inc. * Copyright (C) 2006-2014 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Francis Lachapelle <flachapelle@inverse.ca>
* *
* This file is free software; you can redistribute it and/or modify * This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -28,22 +25,22 @@ $plugins
= array( = array(
"sogo-connector@inverse.ca" "sogo-connector@inverse.ca"
=> array( "application" => "thunderbird", => array( "application" => "thunderbird",
"version" => "24.0.4", "version" => "31.0.0",
"filename" => "sogo-connector-24.0.4.xpi" ), "filename" => "sogo-connector-31.0.0.xpi" ),
"sogo-integrator@inverse.ca" "sogo-integrator@inverse.ca"
=> array( "application" => "thunderbird", => array( "application" => "thunderbird",
"version" => "24.0.4", "version" => "31.0.0",
"filename" => "sogo-integrator-24.0.4.xpi" ), "filename" => "sogo-integrator-31.0.0.xpi" ),
"{e2fda1a4-762b-4020-b5ad-a41df1933103}" "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
=> array( "application" => "thunderbird", => array( "application" => "thunderbird",
"version" => "2.6.4", "version" => "3.3.1",
"filename" => "lightning-2.6.4.xpi" ) "filename" => "lightning-3.3.1.xpi" )
); );
$applications $applications
= array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> = array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>24.0</em:minVersion> <em:minVersion>31.0</em:minVersion>
<em:maxVersion>24.*</em:maxVersion>" ); <em:maxVersion>31.*</em:maxVersion>" );
$pluginname = $_GET["plugin"]; $pluginname = $_GET["plugin"];
$plugin =& $plugins[$pluginname]; $plugin =& $plugins[$pluginname];