aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/plugin.php2
1 files changed, 0 insertions, 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) {