[debian-edu-commits] debian-edu/pkg-team/ 01/02: debian/patches: Update 1003_php7-compliance.patch. Use PHP7 constructor method name. (Closes: #850956).

Mike Gabriel sunweaver at debian.org
Fri Jan 20 13:29:09 UTC 2017


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 624b9eafd92e7996b29296e2caeeb5939c4ac550
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Jan 20 14:21:40 2017 +0100

    debian/patches: Update 1003_php7-compliance.patch. Use PHP7 constructor method name. (Closes: #850956).
---
 debian/patches/1003_php7-compliance.patch | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/patches/1003_php7-compliance.patch b/debian/patches/1003_php7-compliance.patch
index 2b1d5ae..b17b39b 100644
--- a/debian/patches/1003_php7-compliance.patch
+++ b/debian/patches/1003_php7-compliance.patch
@@ -51,11 +51,13 @@ Author: Wolfgang Schweer <wschweer at arcor.de>
  		if (isset($this->attrs['uid'][0])) {
 --- a/admin/netgroups/tabs_netgroup.inc
 +++ b/admin/netgroups/tabs_netgroup.inc
-@@ -24,7 +24,7 @@
+@@ -23,8 +23,8 @@
+ 
  class netgrouptabs extends tabs {
  
-     function netgrouptabs($config, $data, $dn, $cat = "", $hide_refs = FALSE, $hide_acls = FALSE) {
+-    function netgrouptabs($config, $data, $dn, $cat = "", $hide_refs = FALSE, $hide_acls = FALSE) {
 -        tabs::tabs($config, $data, $dn, "netgroups", $hide_refs, $hide_acls);
++    function __construct($config, $data, $dn, $cat = "", $hide_refs = FALSE, $hide_acls = FALSE) {
 +        tabs::__plugin($config, $data, $dn, "netgroups", $hide_refs, $hide_acls);
          $this->addSpecialTabs();
      }

-- 
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