Page MenuHomePhorge

Fix deprecation warnings in kolab-webadmin
Open, LowPublic

Description

This should fix some php messages. There's one dynamic assignment left in:

PHP Deprecated: Creation of dynamic property Net_LDAP3_Result::$vlv is deprecated in /usr/share/php/Net/LDAP3/
Result.php on line 90

diff -ur /home/jochen/tmp/kolab-webadmin/lib/Auth/LDAP.php ./lib/Auth/LDAP.php--- /home/jochen/tmp/kolab-webadmin/lib/Auth/LDAP.php   2024-10-27 16:37:01.318763530 +0100
+++ ./lib/Auth/LDAP.php 2024-10-27 17:59:52.169918811 +0100
@@ -28,6 +28,12 @@
  */
 class LDAP extends Net_LDAP3 {
     private $conf;
+    private $domain;
+    private $_ldap_uri;
+    private $_ldap_port;
+    private $_ldap_scheme;
+    private $user_bind_dn;
+    private $user_bind_pw;

     /**
      * Class constructor
diff -ur /home/jochen/tmp/kolab-webadmin/lib/Auth.php ./lib/Auth.php
--- /home/jochen/tmp/kolab-webadmin/lib/Auth.php        2024-10-27 16:37:00.798759153 +0100
+++ ./lib/Auth.php      2024-10-27 17:56:18.407936155 +0100
@@ -29,6 +29,7 @@
     private $_auth = array();
     private $conf;
     private $domains = array();
+    private $domain;


     /**
diff -ur /home/jochen/tmp/kolab-webadmin/lib/kolab_client_output.php ./lib/kolab_client_output.php
--- /home/jochen/tmp/kolab-webadmin/lib/kolab_client_output.php 2024-10-27 16:37:01.750767166 +0100
+++ ./lib/kolab_client_output.php       2024-10-27 17:46:01.958740903 +0100
@@ -34,6 +34,7 @@
     private $commands = array();
     private $labels = array();
     private $skin;
+    private Smarty $tpl;

     /**
      * Class constructor.
diff -ur /home/jochen/tmp/kolab-webadmin/lib/kolab_client_task.php ./lib/kolab_client_task.php
--- /home/jochen/tmp/kolab-webadmin/lib/kolab_client_task.php   2024-10-27 16:37:00.930760264 +0100
+++ ./lib/kolab_client_task.php 2024-10-27 17:54:21.170922652 +0100
@@ -51,6 +51,7 @@
     protected $list_attribs = array();
     protected $list_module;
     protected $domain;
+    protected $action;

     protected $search_attribs = array(
         'name'  => array('cn', 'displayname'),

Details

Ticket Type
Task