@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 39 lines 820 B view raw
1<?php 2 3final class FileUploadHashConduitAPIMethod extends FileConduitAPIMethod { 4 5 public function getAPIMethodName() { 6 return 'file.uploadhash'; 7 } 8 9 public function getMethodStatus() { 10 return self::METHOD_STATUS_DEPRECATED; 11 } 12 13 public function getMethodStatusDescription() { 14 return pht( 15 'This method has been deprecated since %s in favor of %s.', 16 '04/2017', 17 'file.allocate'); 18 } 19 20 public function getMethodDescription() { 21 return pht('Obsolete. Has no effect.'); 22 } 23 24 protected function defineParamTypes() { 25 return array( 26 'hash' => 'required nonempty string', 27 'name' => 'required nonempty string', 28 ); 29 } 30 31 protected function defineReturnType() { 32 return 'null'; 33 } 34 35 protected function execute(ConduitAPIRequest $request) { 36 return null; 37 } 38 39}