From 5ca959fa688255a8de61f89fe2751eb4d24a6912 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Tue, 22 Mar 2016 09:22:07 -0400
Subject: [PATCH] fixed typo

---
 server/plugins-available/mongo_clientdb_plugin.inc.php |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/server/plugins-available/mongo_clientdb_plugin.inc.php b/server/plugins-available/mongo_clientdb_plugin.inc.php
index b4d274c..6258583 100644
--- a/server/plugins-available/mongo_clientdb_plugin.inc.php
+++ b/server/plugins-available/mongo_clientdb_plugin.inc.php
@@ -52,11 +52,14 @@
 	function onInstall() {
 		global $conf;
 		
-		if($conf['services']['db'] == true && class_exists('MongoClient')) {
+		/*if($conf['services']['db'] == true && class_exists('MongoClient')) {
 			return true;
 		} else {
 			return false;
-		}
+		}*/
+		
+		// Disable mongodb plugin in ISPConfig 3.1
+		return false;
 	}
 
 

--
Gitblit v1.9.1