Skip to content

Removed old publicize endpoints that are no longer used.#7221

Merged
zinigor merged 1 commit intofeature/sync-json-endpointsfrom
remove/unused-publicize-endpoints
May 23, 2017
Merged

Removed old publicize endpoints that are no longer used.#7221
zinigor merged 1 commit intofeature/sync-json-endpointsfrom
remove/unused-publicize-endpoints

Conversation

@zinigor
Copy link
Copy Markdown
Contributor

@zinigor zinigor commented May 23, 2017

Changes proposed in this Pull Request:

  • Removes the publicize endpoint file.
  • Removes require statements.

Note: the WPCOM_JSON_API_Publicize_Endpoint class instantiation code is removed because it is only available on dotcom side.

cc @lezama, @retrofox, @aduth please take a look - I'm pretty sure none of the current Publicize management code paths use these classes.

@zinigor zinigor added [Feature] WPCOM API [Status] Needs Review This PR is ready for review. labels May 23, 2017
@zinigor zinigor self-assigned this May 23, 2017
@zinigor zinigor requested review from aduth, lezama and retrofox May 23, 2017 11:44
Copy link
Copy Markdown
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so much familiar with the publicize:new endpoint, but seems reasonable to remove the endpoints classes given they're not used or instantiated anywhere and are forced to occur on WPCOM.

@lezama
Copy link
Copy Markdown
Contributor

lezama commented May 23, 2017

I agree with @aduth
:shipit:

@zinigor zinigor merged commit bf1919e into feature/sync-json-endpoints May 23, 2017
@zinigor zinigor deleted the remove/unused-publicize-endpoints branch May 23, 2017 19:37
@zinigor zinigor removed the [Status] Needs Review This PR is ready for review. label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants