From 33cb429e151766ec6cee7d050def380c487d88e0 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 20 Nov 2023 21:56:31 +0000 Subject: remove unused variable --- include/plugin.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/plugin.php b/include/plugin.php index eb761dc37..f1d501001 100644 --- a/include/plugin.php +++ b/include/plugin.php @@ -459,8 +459,6 @@ function insert_hook($hook, $fn, $version = 0, $priority = 0) { * @param[in,out] string|array &$data to transmit to the callback handler */ function call_hooks($name, &$data = null) { - $a = 0; - if (isset(App::$hooks[$name])) { foreach(App::$hooks[$name] as $hook) { -- cgit v1.2.3