Page MenuHomePhabricator

Destroy notifications properly from `bin/remove destroy`
ClosedPublic

Authored by epriestley on May 18 2015, 7:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 7, 2:01 PM
Unknown Object (File)
Wed, Dec 4, 7:36 AM
Unknown Object (File)
Tue, Dec 3, 11:48 AM
Unknown Object (File)
Fri, Nov 29, 12:55 AM
Unknown Object (File)
Mon, Nov 25, 10:39 AM
Unknown Object (File)
Wed, Nov 20, 10:10 PM
Unknown Object (File)
Nov 11 2024, 8:23 AM
Unknown Object (File)
Nov 7 2024, 7:39 AM
Subscribers

Details

Summary

Fixes T8237. This table is unusual and doesn't have an id column, so delete() doesn't actually know how to delete records and fails.

Test Plan
  • Used bin/remove destroy to destroy an object with notifications, as per T8237.
  • Applied patch.
  • Used bin/remove destroy to get a clean delete.
  • Verified related notifications vanished from notification menu.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Destroy notifications properly from `bin/remove destroy`.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.May 18 2015, 7:29 PM
This revision was automatically updated to reflect the committed changes.