mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
24 lines
543 B
PHP
24 lines
543 B
PHP
|
<?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());
|
||
|
}
|
||
|
|
||
|
}
|