[pkg-nagios-changes] [Git][nagios-team/pkg-icingaweb2][master] 2 commits: Add patch to fix deprecated warning in setup module.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sat Jul 2 12:23:52 BST 2022



Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / pkg-icingaweb2


Commits:
eef92605 by Bas Couwenberg at 2022-07-02T13:18:21+02:00
Add patch to fix deprecated warning in setup module.

- - - - -
5bd2dca2 by Bas Couwenberg at 2022-07-02T13:18:49+02:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-Fix-deprecated-warning-in-setup-module.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+icingaweb2 (2.11.0-3) unstable; urgency=medium
+
+  * Team upload.
+  * Add patch to fix deprecated warning in setup module.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sat, 02 Jul 2022 13:18:42 +0200
+
 icingaweb2 (2.11.0-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/0001-Fix-deprecated-warning-in-setup-module.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Fix deprecated warning in setup module.
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Bug: https://github.com/Icinga/icingaweb2/issues/4849
+Forwarded: https://github.com/Icinga/icingaweb2/issues/4849#issuecomment-1172881592
+
+--- a/library/Icinga/Application/Modules/Module.php
++++ b/library/Icinga/Application/Modules/Module.php
+@@ -1036,7 +1036,7 @@ class Module
+     public function providesSetupWizard()
+     {
+         $this->launchConfigScript();
+-        if (class_exists($this->setupWizard)) {
++        if (!is_null($this->setupWizard) && class_exists($this->setupWizard)) {
+             $wizard = new $this->setupWizard;
+             return $wizard instanceof SetupWizard;
+         }


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0001-Fix-Event-Grid-SQLSTATE-error.patch
+0001-Fix-deprecated-warning-in-setup-module.patch



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/compare/c5476b0e3de9ec86aa5b256061b9abdc365319bc...5bd2dca2251fa4a90626d21c1c3d25b9454d143d

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icingaweb2/-/compare/c5476b0e3de9ec86aa5b256061b9abdc365319bc...5bd2dca2251fa4a90626d21c1c3d25b9454d143d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20220702/ad80b837/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list