[debian-edu-commits] debian-edu/pkg-team/ 03/04: gosa-core/include/pChart/: Find more deprecated constructors.

Mike Gabriel sunweaver at debian.org
Thu Mar 1 16:17:16 UTC 2018


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

sunweaver pushed a commit to branch master
in repository gosa.

commit 8ea19c703f9a6f9b82c8ba4f0acda71c017956ec
Author: Benjamin Zapiec <bzapiec at gonicus.de>
Date:   Thu Mar 1 17:09:38 2018 +0100

    gosa-core/include/pChart/: Find more deprecated constructors.
---
 .../1026_fix-deprecated-constructor-format.patch   | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/debian/patches/1026_fix-deprecated-constructor-format.patch b/debian/patches/1026_fix-deprecated-constructor-format.patch
index 8c92c8c..13c2864 100644
--- a/debian/patches/1026_fix-deprecated-constructor-format.patch
+++ b/debian/patches/1026_fix-deprecated-constructor-format.patch
@@ -2818,3 +2818,57 @@ Abstract:
      
      /* Setting uid to default */
      if(isset($this->attrs['uid'][0])){
+--- a/gosa-core/include/pChart/pCache.class
++++ b/gosa-core/include/pChart/pCache.class
+@@ -38,7 +38,7 @@
+    var $CacheFolder = "Cache/";
+ 
+    /* Create the pCache object */
+-   function pCache($CacheFolder="Cache/")
++   function __construct($CacheFolder="Cache/")
+     {
+      $this->CacheFolder = $CacheFolder;
+     }
+@@ -116,4 +116,4 @@
+      return(md5($mKey));
+     }
+   }
+-?>
+\ No newline at end of file
++?>
+--- a/gosa-core/include/pChart/pChart.class
++++ b/gosa-core/include/pChart/pChart.class
+@@ -194,7 +194,7 @@
+    var $MapID            = NULL;
+ 
+    /* This function create the background picture */
+-   function pChart($XSize,$YSize)
++   function __construct($XSize,$YSize)
+     {
+      $this->XSize   = $XSize;
+      $this->YSize   = $YSize;
+@@ -3486,4 +3486,4 @@
+    echo "[FATAL] ".$Message."\r\n";
+    exit();
+   }
+-?>
+\ No newline at end of file
++?>
+--- a/gosa-core/include/pChart/pData.class
++++ b/gosa-core/include/pChart/pData.class
+@@ -50,7 +50,7 @@
+    var $Data;
+    var $DataDescription;
+ 
+-   function pData()
++   function __construct()
+     {
+      $this->Data                           = "";
+      $this->DataDescription                = "";
+@@ -257,4 +257,4 @@
+      return($this->DataDescription);
+     }
+   }
+-?>
+\ No newline at end of file
++?>

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



More information about the debian-edu-commits mailing list