From eb768b4fce69252c53fbc29b464d8c3f3f35c985 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 2 May 2022 15:40:47 +0200 Subject: [PATCH] Remove deprecated method `ApplicationBootstrap::setupZendAutoloader()` and its uses --- library/Icinga/Application/ApplicationBootstrap.php | 11 ----------- library/Icinga/Application/EmbeddedWeb.php | 1 - library/Icinga/Application/Web.php | 1 - 3 files changed, 13 deletions(-) diff --git a/library/Icinga/Application/ApplicationBootstrap.php b/library/Icinga/Application/ApplicationBootstrap.php index 3e1078d86..b55049548 100644 --- a/library/Icinga/Application/ApplicationBootstrap.php +++ b/library/Icinga/Application/ApplicationBootstrap.php @@ -434,17 +434,6 @@ abstract class ApplicationBootstrap return $this; } - /** - * Register the Zend Autoloader - compat only - does nothing - * - * @deprecated - * @return $this - */ - public function setupZendAutoloader() - { - return $this; - } - /** * Setup module manager * diff --git a/library/Icinga/Application/EmbeddedWeb.php b/library/Icinga/Application/EmbeddedWeb.php index 763ced121..8d03e1133 100644 --- a/library/Icinga/Application/EmbeddedWeb.php +++ b/library/Icinga/Application/EmbeddedWeb.php @@ -65,7 +65,6 @@ class EmbeddedWeb extends ApplicationBootstrap protected function bootstrap() { return $this - ->setupZendAutoloader() ->setupErrorHandling() ->loadLibraries() ->loadConfig() diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index 1631422e1..4ce9b45a6 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -81,7 +81,6 @@ class Web extends EmbeddedWeb protected function bootstrap() { return $this - ->setupZendAutoloader() ->setupLogging() ->setupErrorHandling() ->loadLibraries()