[debian-edu-commits] debian-edu/pkg-team/ 02/05: debian/patches: Add 1003_php7-compliance.patch. Make gosa-plugin-netgroups PHP7 complianet.

Mike Gabriel sunweaver at debian.org
Sun Nov 20 13:41:22 UTC 2016


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

sunweaver pushed a commit to branch master
in repository gosa-plugin-netgroups.

commit 8c2787628236c896396724c7cd45c02e87f0bccd
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Nov 20 14:26:47 2016 +0100

    debian/patches: Add 1003_php7-compliance.patch. Make gosa-plugin-netgroups PHP7 complianet.
---
 debian/patches/1003_php7-compliance.patch | 33 +++++++++++++++++++++++++++++++
 debian/patches/series                     |  1 +
 2 files changed, 34 insertions(+)

diff --git a/debian/patches/1003_php7-compliance.patch b/debian/patches/1003_php7-compliance.patch
new file mode 100644
index 0000000..2f2b4a7
--- /dev/null
+++ b/debian/patches/1003_php7-compliance.patch
@@ -0,0 +1,33 @@
+--- a/admin/netgroups/class_netgroup.inc
++++ b/admin/netgroups/class_netgroup.inc
+@@ -57,7 +57,7 @@
+ 
+ 	/* Constructor which load object attributes aso.
+  	 * */
+-    function netgroup(&$config, $dn= NULL) {
++    function __construct(&$config, $dn= NULL) {
+ 
+         plugin::plugin($config, $dn);
+ 		$this->objectInfo = array("triple" => array(), "groups" => array());
+--- a/admin/systems/netgroups/class_netgroupSystem.inc
++++ b/admin/systems/netgroups/class_netgroupSystem.inc
+@@ -48,7 +48,7 @@
+ 
+ 	/* Constructor: Prepare values, lists, ...
+  	 * */
+-	function netgroupSystem(&$config, $dn= NULL) 
++	function __construct(&$config, $dn= NULL) 
+ 	{
+ 		$this->config = $config;
+ 
+--- a/personal/netgroups/class_netgroupAccount.inc
++++ b/personal/netgroups/class_netgroupAccount.inc
+@@ -51,7 +51,7 @@
+ 
+ 	/* Constructor: Prepare values, lists, ...
+  	 * */
+-	function netgroupAccount(&$config, $dn= NULL) 
++	function __construct(&$config, $dn= NULL) 
+ 	{
+ 		$this->config = $config;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 29f7661..a22e13f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 1001_fix-renaming-hosts.patch
 1002_fix-netgroup-remove-from-hosts.patch
+1003_php7-compliance.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa-plugin-netgroups.git



More information about the debian-edu-commits mailing list