1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +01:00
phorge-phorge/src/applications/calendar/xaction/PhabricatorCalendarImportReloadTransaction.php

24 lines
543 B
PHP
Raw Normal View History

<?php
final class PhabricatorCalendarImportReloadTransaction
extends PhabricatorCalendarImportTransactionType {
const TRANSACTIONTYPE = 'calendar.import.reload';
public function generateOldValue($object) {
return false;
}
public function applyExternalEffects($object, $value) {
// NOTE: This transaction does nothing directly; instead, the Editor
// reacts to it and performs the reload.
}
public function getTitle() {
return pht(
'%s reloaded this event source.',
$this->renderAuthor());
}
}