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

at recaptime-dev/main 33 lines 751 B view raw
1<?php 2 3final class PhabricatorAuthPasswordEditor 4 extends PhabricatorApplicationTransactionEditor { 5 6 private $oldHasher; 7 8 public function setOldHasher(PhabricatorPasswordHasher $old_hasher) { 9 $this->oldHasher = $old_hasher; 10 return $this; 11 } 12 13 public function getOldHasher() { 14 return $this->oldHasher; 15 } 16 17 public function getEditorApplicationClass() { 18 return PhabricatorAuthApplication::class; 19 } 20 21 public function getEditorObjectsDescription() { 22 return pht('Passwords'); 23 } 24 25 public function getCreateObjectTitle($author, $object) { 26 return pht('%s created this password.', $author); 27 } 28 29 public function getCreateObjectTitleForFeed($author, $object) { 30 return pht('%s created %s.', $author, $object); 31 } 32 33}