From e799f77d2664d452e8322afbe3e79e98a3bc3e54 Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Thu, 26 May 2011 06:40:52 +0000
Subject: [PATCH] Fix: move this to an external module in Doliforge

---
 htdocs/includes/modules/modPaypal.class.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/htdocs/includes/modules/modPaypal.class.php b/htdocs/includes/modules/modPaypal.class.php
index b51adb1f9d9..715886d2b50 100644
--- a/htdocs/includes/modules/modPaypal.class.php
+++ b/htdocs/includes/modules/modPaypal.class.php
@@ -78,10 +78,10 @@ class modPaypal extends DolibarrModules
 		$this->config_page_url = array("paypal.php@paypal");
 
 		// Dependencies
-		$this->depends = array();		// List of modules id that must be enabled if this module is enabled
-		$this->requiredby = array();	// List of modules id to disable if this one is disabled
-		$this->phpmin = array(4,1);					  // Minimum version of PHP required by module
-		$this->need_dolibarr_version = array(3,0,-2); // Minimum version of Dolibarr required by module
+		$this->depends = array();						// List of modules id that must be enabled if this module is enabled
+		$this->requiredby = array('modPaypalPlus');		// List of modules id to disable if this one is disabled
+		$this->phpmin = array(4,1);						// Minimum version of PHP required by module
+		$this->need_dolibarr_version = array(3,0,-2);	// Minimum version of Dolibarr required by module
 		$this->langfiles = array("paypal");
 
 		// Constants
-- 
GitLab