check.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 560c8f44c71d0d3c93cef0df526afbe221eb8701
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Thu Jan 16 17:12:54 2014 +0100

    Allow LibreOfficeDev too.

diff --git a/check.php b/check.php
index 5e61468..b01d247 100644
--- a/check.php
+++ b/check.php
@@ -420,7 +420,7 @@ function print_update_xml($buildid, $os, $arch, $lang, 
$pkgfmt) {
 
 $info = get_update_info();
 
-if (!array_key_exists('product', $info) || ($info['product'] != 'LibreOffice' 
&& $info['product'] != 'LOdev'))
+if (!array_key_exists('product', $info) || ($info['product'] != 'LibreOffice' 
&& $info['product'] != 'LibreOfficeDev' && $info['product'] != 'LOdev'))
     error('<b>Error:</b> Only LibreOffice can access the update service.');
 
 print_update_xml($info['buildid'], $info['os'], $info['arch'], $info['lang'], 
$info['pkgfmt']);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to