Skip to content

Commit 7c3dc8b

Browse files
Removing duplicate check
This should be done inside the function in case someone to call the method directly. The check is also already done for add_options_page. Related to #12
1 parent cf10b7f commit 7c3dc8b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

postmark.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ function __construct() {
2424

2525

2626
function init() {
27-
if ( ! current_user_can( 'manage_options' ) ) {
28-
return;
29-
}
30-
3127
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
3228
add_action( 'wp_ajax_postmark_save', array( $this, 'save_settings' ) );
3329
add_action( 'wp_ajax_postmark_test', array( $this, 'send_test_email' ) );

0 commit comments

Comments
 (0)