Skip to content

Commit

Permalink
[REFACTOR] Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Fwu committed Jul 12, 2022
1 parent 864b3e4 commit f8251aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cdn-setup.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ private function _process_cdn_status($result)
private function _qc_reset($delete) {
$data = [
'site_url' => home_url(),
'rest' => function_exists( 'rest_get_url_prefix' ) ? rest_get_url_prefix() : apply_filters( 'rest_url_prefix', 'wp-json' ),
];

if ($delete) {
Expand Down

0 comments on commit f8251aa

Please sign in to comment.