Skip to content

Commit d1b15f0

Browse files
committed
prefix action namespace
1 parent 35eaecc commit d1b15f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodebb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct() {
1818
global $hcpp;
1919
$hcpp->nodebb = $this;
2020
$hcpp->add_action( 'csrf_verified', [ $this, 'csrf_verified' ] ); // Initial POST
21-
$hcpp->add_action( 'invoke_plugin', [ $this, 'setup' ] );
21+
$hcpp->add_action( 'hcpp_invoke_plugin', [ $this, 'setup' ] );
2222
$hcpp->add_action( 'priv_add_database', [ $this, 'priv_add_database' ] );
2323
$hcpp->add_action( 'render_page', [ $this, 'render_page' ] );
2424
}

0 commit comments

Comments
 (0)