Skip to content

cleanup: Remove Reddit handler and dead docs from core#447

Merged
chubes4 merged 1 commit intomainfrom
cleanup/remove-reddit-handler
Feb 26, 2026
Merged

cleanup: Remove Reddit handler and dead docs from core#447
chubes4 merged 1 commit intomainfrom
cleanup/remove-reddit-handler

Conversation

@chubes4
Copy link
Member

@chubes4 chubes4 commented Feb 26, 2026

Summary

  • Removes the Reddit fetch handler from core (migrated to data-machine-socials)
  • Removes dead documentation for Google Sheets and Reddit handlers
  • Removes dead abraham/twitteroauth vendor directory
  • Net -1,829 lines removed from core

What changed

Deleted files (handler code)

  • inc/Core/Steps/Fetch/Handlers/Reddit/Reddit.php (212 lines)
  • inc/Core/Steps/Fetch/Handlers/Reddit/RedditAuth.php (304 lines)
  • inc/Core/Steps/Fetch/Handlers/Reddit/RedditSettings.php (94 lines)
  • inc/Abilities/Fetch/FetchRedditAbility.php (693 lines)

Deleted files (dead docs)

  • docs/handlers/fetch/reddit.md — now belongs in socials
  • docs/handlers/fetch/google-sheets-fetch.md — handler was migrated to data-machine-business
  • docs/handlers/publish/google-sheets-output.md — handler was migrated to data-machine-business

Modified files

  • data-machine.php — Removed 3 Reddit-related lines (require_once, ability instantiation, handler instantiation)
  • docs/handlers/fetch/handlers-overview.md — Removed Reddit and Google Sheets entries
  • docs/handlers/publish/handlers-overview.md — Removed Google Sheets entry

Deleted vendor

  • vendor/abraham/twitteroauth/ — Dead dependency (not in composer.json require, only used by OAuth1Handler which is consumed by socials plugin's Twitter handler)

Context

Reddit was the last social handler remaining in core. With this PR, all social platform handlers (Instagram, Threads, Facebook, Twitter, Bluesky, Pinterest, Reddit) live in data-machine-socials where they belong.

The uninstall.php legacy cleanup entries for Reddit/social providers are intentionally kept — they clean up options that may exist from before the migration.

Testing

Closes #440

- Remove Reddit handler (Reddit.php, RedditAuth.php, RedditSettings.php)
- Remove FetchRedditAbility.php
- Remove 3 require_once/instantiation lines from data-machine.php
- Remove stale docs: reddit.md, google-sheets-fetch.md, google-sheets-output.md
- Clean handler overview docs (remove Reddit and Google Sheets references)
- Remove dead abraham/twitteroauth vendor directory

Reddit handler has been migrated to data-machine-socials.
Google Sheets handlers were previously migrated to data-machine-business.

Closes #440
Relates to Extra-Chill/data-machine-socials#20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove migrated handler code and dead files from core

1 participant