aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-11-20 21:56:31 +0000
committerMario <mario@mariovavti.com>2023-11-20 21:56:31 +0000
commit33cb429e151766ec6cee7d050def380c487d88e0 (patch)
tree96462aa3dc5e8454c58a8312818b210b398e1838 /include/plugin.php
parentcfdbf02e6b4901850287d096b97fb38dbf5779d9 (diff)
downloadvolse-hubzilla-33cb429e151766ec6cee7d050def380c487d88e0.tar.gz
volse-hubzilla-33cb429e151766ec6cee7d050def380c487d88e0.tar.bz2
volse-hubzilla-33cb429e151766ec6cee7d050def380c487d88e0.zip
remove unused variable
Diffstat (limited to 'include/plugin.php')
-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) {