[Pkg-owncloud-commits] [owncloud] 66/129: Fix memcached/memcache module check

David Prévot taffit at moszumanska.debian.org
Thu Nov 5 01:04:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit ab87fc7d3aea62888c8cd063c08a755e1fc104ed
Author: Robin McCorkell <rmccorkell at owncloud.com>
Date:   Tue Oct 20 21:45:27 2015 +0100

    Fix memcached/memcache module check
---
 settings/controller/checksetupcontroller.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/settings/controller/checksetupcontroller.php b/settings/controller/checksetupcontroller.php
index 2ff55fc..bd0737a 100644
--- a/settings/controller/checksetupcontroller.php
+++ b/settings/controller/checksetupcontroller.php
@@ -195,7 +195,7 @@ class CheckSetupController extends Controller {
 
 		return '';
 	}
-	
+
 	/**
 	 * Whether the php version is still supported (at time of release)
 	 * according to: https://secure.php.net/supported-versions.php
@@ -244,7 +244,7 @@ class CheckSetupController extends Controller {
 		// there are two different memcached modules for PHP
 		// we only support memcached and not memcache
 		// https://code.google.com/p/memcached/wiki/PHPClientComparison
-		return !extension_loaded('memcached') && extension_loaded('memcache');
+		return !(!extension_loaded('memcached') && extension_loaded('memcache'));
 	}
 
 	/**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list