Page MenuHomePhabricator

Implement PhabricatorDestructibleInterface in Phame
ClosedPublic

Authored by chad on Nov 28 2015, 7:12 PM.
Tags
None
Referenced Files
F18851852: D14586.id.diff
Oct 31 2025, 4:37 AM
F18850259: D14586.diff
Oct 30 2025, 3:27 PM
F18790799: D14586.id35289.diff
Oct 15 2025, 6:52 PM
F18774594: D14586.id35290.diff
Oct 10 2025, 3:40 PM
F18718006: D14586.diff
Sep 29 2025, 3:07 PM
F18712888: D14586.id.diff
Sep 29 2025, 5:33 AM
F18703314: D14586.id35287.diff
Sep 28 2025, 3:36 AM
F18499370: D14586.diff
Sep 4 2025, 7:42 PM
Subscribers

Details

Summary

Allows Blogs and Posts to be destroyed. Fixes T9756

Test Plan

Test bin/remove destroy POST and bin/remove destroy BLOG to great success.

Diff Detail

Repository
rP Phabricator
Branch
phame-destruct
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9097
Build 10716: Run Core Tests
Build 10715: arc lint + arc unit

Event Timeline

chad retitled this revision from to Implement PhabricatorDestructibleInterface in Phame.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.
epriestley edited edge metadata.

Build failure looks like a missing arc liberate. Couple o' inlines.

src/applications/phame/storage/PhameBlog.php
331–332

You don't need this, $this is the same as $blog.

src/applications/phame/storage/PhamePost.php
262–263

You can get rid of this, it's unused and $this->delete() always does the same thing anyway.

This revision is now accepted and ready to land.Nov 28 2015, 8:00 PM
chad marked 2 inline comments as done.
chad edited edge metadata.
  • Updates
This revision was automatically updated to reflect the committed changes.