getAuthorPHID(); $old = $this->getOldValue(); $new = $this->getNewValue(); switch ($this->getTransactionType()) { case self::TYPE_NAME: return pht( '%s renamed this key from "%s" to "%s".', $this->renderHandleLink($author_phid), $old, $new); case self::TYPE_KEY: return pht( '%s updated the public key material for this SSH key.', $this->renderHandleLink($author_phid)); case self::TYPE_DEACTIVATE: if ($new) { return pht( '%s deactivated this key.', $this->renderHandleLink($author_phid)); } else { return pht( '%s activated this key.', $this->renderHandleLink($author_phid)); } } return parent::getTitle(); } }