Skip to content

Commit 0853ed6

Browse files
committed
support bulk unsuspend
1 parent 7b3791a commit 0853ed6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nodeapp.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public function __construct() {
2424
$hcpp->add_action( 'priv_change_web_domain_proxy_tpl', [ $this, 'priv_change_web_domain_proxy_tpl' ] );
2525
$hcpp->add_action( 'pre_delete_web_domain_backend', [ $this, 'pre_delete_web_domain_backend' ] );
2626
$hcpp->add_action( 'priv_suspend_web_domain', [ $this, 'priv_suspend_web_domain' ] );
27-
$hcpp->add_action( 'priv_unsuspend_domain', [ $this, 'priv_unsuspend_domain' ] );
27+
$hcpp->add_action( 'priv_unsuspend_web_domain', [ $this, 'priv_unsuspend_domain' ] ); // Bulk unsuspend domains only throws this event
28+
$hcpp->add_action( 'priv_unsuspend_domain', [ $this, 'priv_unsuspend_domain' ] ); // Individually unsuspend domain only throws this event
2829
$hcpp->add_action( 'hcpp_rebooted', [ $this, 'hcpp_rebooted' ] );
2930
$hcpp->add_action( 'hcpp_runuser', [ $this, 'hcpp_runuser' ] );
3031
}

0 commit comments

Comments
 (0)