@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Phriction - fix bug with delete

Summary: Fixes T6489. In an earlier diff I forgot to update the document status itself, thinking that the content update percolated up magically. Restore this functionality so the wiki works better.

Test Plan: deleted a document and observed that i did not get the option to delete it again and it disappeared from document index

Reviewers: epriestley, chad

Reviewed By: chad

Subscribers: Korvin, epriestley

Maniphest Tasks: T6489

Differential Revision: https://secure.phabricator.com/D10807

+3
+3
src/applications/phriction/editor/PhrictionTransactionEditor.php
··· 179 179 case PhrictionTransaction::TYPE_MOVE_AWAY: 180 180 $object->setStatus(PhrictionDocumentStatus::STATUS_MOVED); 181 181 return; 182 + case PhrictionTransaction::TYPE_DELETE: 183 + $object->setStatus(PhrictionDocumentStatus::STATUS_DELETED); 184 + return; 182 185 } 183 186 } 184 187