Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Jan 8, 2025
1 parent b72cdde commit 9251c69
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions inc/RestApi/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function register_routes() {
),
)
);

}

/**
Expand Down Expand Up @@ -189,7 +188,6 @@ public function get_current_settings() {
);

return $settings;

}

/**
Expand All @@ -201,8 +199,6 @@ public function check_permission() {
if ( ! current_user_can( 'manage_options' ) ) {
return new \WP_Error( 'rest_forbidden_context', __( 'Sorry, you are not allowed to access this endpoint.', 'wp-plugin-web' ), array( 'status' => rest_authorization_required_code() ) );
}

return true;
}

}

0 comments on commit 9251c69

Please sign in to comment.