Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / files / conduit / FileUploadHashConduitAPIMethod.php
blobdb7a6acecbd54e0a08bcca458561033e450df547
1 <?php
3 final class FileUploadHashConduitAPIMethod extends FileConduitAPIMethod {
5 public function getAPIMethodName() {
6 return 'file.uploadhash';
9 public function getMethodStatus() {
10 return self::METHOD_STATUS_DEPRECATED;
13 public function getMethodStatusDescription() {
14 return pht(
15 'This method is deprecated. Callers should use "file.allocate" '.
16 'instead.');
19 public function getMethodDescription() {
20 return pht('Obsolete. Has no effect.');
23 protected function defineParamTypes() {
24 return array(
25 'hash' => 'required nonempty string',
26 'name' => 'required nonempty string',
30 protected function defineReturnType() {
31 return 'null';
34 protected function execute(ConduitAPIRequest $request) {
35 return null;