@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.

Use PhutilInvalidStateException

Summary: Use `PhutilInvalidStateException` in `PonderVoteEditor`.

Test Plan: N/A

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

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

+1 -1
+1 -1
src/applications/ponder/editor/PonderVoteEditor.php
··· 25 25 public function saveVote() { 26 26 $actor = $this->requireActor(); 27 27 if (!$this->votable) { 28 - throw new Exception(pht('Must set votable before saving vote.')); 28 + throw new PhutilInvalidStateException('setVotable'); 29 29 } 30 30 31 31 $votable = $this->votable;