From 10d34b640bc9c1e4b290fa15db98ba58bf4a9f41 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Dec 2017 10:21:37 +0100 Subject: v4.2.2 --- 27.patch | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 27.patch (limited to '27.patch') diff --git a/27.patch b/27.patch deleted file mode 100644 index 12ebe25..0000000 --- a/27.patch +++ /dev/null @@ -1,30 +0,0 @@ -From a24e257e3f4975723e3176942ca9bcafb4222429 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 13 Dec 2017 15:37:15 +0100 -Subject: [PATCH] Fix #26 regression with previous cache configuration - ---- - src/Bartlett/Reflect/Plugin/PluginManager.php | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/src/Bartlett/Reflect/Plugin/PluginManager.php b/src/Bartlett/Reflect/Plugin/PluginManager.php -index 483b200..fdf19c5 100644 ---- a/src/Bartlett/Reflect/Plugin/PluginManager.php -+++ b/src/Bartlett/Reflect/Plugin/PluginManager.php -@@ -68,10 +68,12 @@ public function registerPlugins() - if (class_exists($plugin['class'])) { - if (isset($plugin['options'])) { - $options = $plugin['options']; -- if (is_string($options) && class_exists($options)) { -- $options = new $options; -- } else { -- $options = null; -+ if (is_string($options)) { -+ if (class_exists($options)) { -+ $options = new $options; -+ } else { -+ $options = null; -+ } - } - } else { - $options = null; -- cgit