Page MenuHomec4science

FileUploadHashConduitAPIMethod.php
No OneTemporary

File Metadata

Created
Thu, Jan 9, 17:15

FileUploadHashConduitAPIMethod.php

<?php
final class FileUploadHashConduitAPIMethod extends FileConduitAPIMethod {
public function getAPIMethodName() {
return 'file.uploadhash';
}
public function getMethodStatus() {
return self::METHOD_STATUS_DEPRECATED;
}
public function getMethodStatusDescription() {
return pht(
'This method is deprecated. Callers should use "file.allocate" '.
'instead.');
}
public function getMethodDescription() {
return pht('Obsolete. Has no effect.');
}
protected function defineParamTypes() {
return array(
'hash' => 'required nonempty string',
'name' => 'required nonempty string',
);
}
protected function defineReturnType() {
return 'null';
}
protected function execute(ConduitAPIRequest $request) {
return null;
}
}

Event Timeline