Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/conduit/AlmanacConduitAPIMethod.php
<?php | <?php | ||||
abstract class AlmanacConduitAPIMethod extends ConduitAPIMethod { | abstract class AlmanacConduitAPIMethod extends ConduitAPIMethod { | ||||
final public function getApplication() { | final public function getApplication() { | ||||
return PhabricatorApplication::getByClass( | return PhabricatorApplication::getByClass( | ||||
'PhabricatorAlmanacApplication'); | 'PhabricatorAlmanacApplication'); | ||||
} | } | ||||
public function getMethodStatus() { | public function getMethodStatus() { | ||||
return self::METHOD_STATUS_UNSTABLE; | return self::METHOD_STATUS_DEPRECATED; | ||||
} | } | ||||
public function getMethodStatusDescription() { | public function getMethodStatusDescription() { | ||||
return pht( | return pht( | ||||
'Almanac is a prototype application and its APIs are '. | 'Almanac is a prototype application and its APIs are '. | ||||
'subject to change.'); | 'subject to change.'); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |