Fix php7 compatibility
This commit is contained in:
parent
dd5976066a
commit
f72ac3cf45
@ -49,18 +49,21 @@ class Documents extends DolibarrApi
|
||||
$this->db = $db;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return a document
|
||||
*
|
||||
* @param string $module_part Module part for file
|
||||
* @param string $filename File name
|
||||
*
|
||||
* @url GET {module_part}/{filename}
|
||||
*
|
||||
* @return array Array with data of file
|
||||
* @throws RestException
|
||||
*/
|
||||
public function index($module_part, $filename) {
|
||||
return array('note'=>'FeatureNotYetAvailable');
|
||||
}
|
||||
public function get($module_part, $filename) {
|
||||
return array('note'=>'FeatureNotYetAvailable');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user