From ac8fef66e46022195530b63dfee16175f100686e Mon Sep 17 00:00:00 2001 From: michael-e Date: Sun, 3 Mar 2019 18:40:29 +0100 Subject: [PATCH] Do not throw exception when setting the ID fails The function returns false anyway; failing more silently is preferrable. Fixes #310 --- extension.driver.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/extension.driver.php b/extension.driver.php index cc03991..f6c59e9 100644 --- a/extension.driver.php +++ b/extension.driver.php @@ -531,9 +531,6 @@ public function setMembersSection($section_id) { return true; } - else { - throw new Exception(sprintf('Setting the active Members section to %d failed.', $section_id)); - } return false; }