mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 11:42:42 +01:00
4bce3fc8e6
Summary: Depends on D19329. Ref T13120. Ref T12414. Recent changes have mostly modularized Almanac transactions, but the "property" transactions remained written in an older style with the logic on the Editor/Transaction classes. This moves them to modern modular transactions. These end up being a little bit copy-pastey, but it doesn't feel too terribly bad. Test Plan: Created, edited, and deleted properties on services, devices and bindings. Grepped for removed constants. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13120, T12414 Differential Revision: https://secure.phabricator.com/D19334
22 lines
461 B
PHP
22 lines
461 B
PHP
<?php
|
|
|
|
final class AlmanacBindingEditor
|
|
extends AlmanacEditor {
|
|
|
|
public function getEditorObjectsDescription() {
|
|
return pht('Almanac Binding');
|
|
}
|
|
|
|
public function getCreateObjectTitle($author, $object) {
|
|
return pht('%s created this binding.', $author);
|
|
}
|
|
|
|
public function getCreateObjectTitleForFeed($author, $object) {
|
|
return pht('%s created %s.', $author, $object);
|
|
}
|
|
|
|
protected function supportsSearch() {
|
|
return true;
|
|
}
|
|
|
|
}
|