Skip to content

Commit 4dd1018

Browse files
committed
prefix action namespace
1 parent da30ff1 commit 4dd1018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mailcatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct() {
2121
$hcpp->add_action( 'nodeapp_startup_services', [ $this, 'nodeapp_startup_services' ] );
2222
$hcpp->add_action( 'priv_unsuspend_domain', [ $this, 'priv_unsuspend_domain' ] );
2323
$hcpp->add_action( 'hcpp_plugin_installed', [ $this, 'hcpp_plugin_installed' ] );
24-
$hcpp->add_action( 'new_web_domain_ready', [ $this, 'new_web_domain_ready' ] );
24+
$hcpp->add_action( 'hcpp_new_domain_ready', [ $this, 'hcpp_new_domain_ready' ] );
2525
}
2626

2727
// Set MAILCATCHER_DOMAIN for PM2 started processes
@@ -85,7 +85,7 @@ public function priv_unsuspend_domain( $args ) {
8585
$this->setup( $user, $domain );
8686
return $args;
8787
}
88-
public function new_web_domain_ready( $args ) {
88+
public function hcpp_new_domain_ready( $args ) {
8989
$user = $args[0];
9090
$domain = $args[1];
9191
$this->create_smtp_json( $user, $domain );

0 commit comments

Comments
 (0)