mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
remove unused variable
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user