Page MenuHomePhabricator

Implement PhabricatorDestructibleInterface in Phame
ClosedPublic

Authored by chad on Nov 28 2015, 7:12 PM.
Tags
None
Referenced Files
F15399759: D14586.id35290.diff
Mon, Mar 17, 7:28 AM
F15334714: D14586.diff
Sat, Mar 8, 11:40 AM
Unknown Object (File)
Feb 27 2025, 2:36 AM
Unknown Object (File)
Feb 24 2025, 11:31 PM
Unknown Object (File)
Feb 8 2025, 11:54 PM
Unknown Object (File)
Feb 8 2025, 11:54 PM
Unknown Object (File)
Feb 8 2025, 11:54 PM
Unknown Object (File)
Feb 8 2025, 11:54 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.