/**
  * @param null            $path
  * @param ilCloudFileTree $file_tree
  *
  * @return bool
  */
 public function deleteItem($path = NULL, ilCloudFileTree $file_tree = NULL)
 {
     //		throw new ilCloudException(-1, print_r($file_tree, true));
     $path = ilCloudUtil::joinPaths($file_tree->getRootPath(), $path);
     return $this->getClient()->delete($path);
 }
 /**
  * @param null $path
  * @param ilCloudFileTree|null $file_tree
  * @return mixed
  * @throws \Dropbox\Exception_BadResponseCode
  * @throws \Dropbox\Exception_InvalidAccessToken
  * @throws \Dropbox\Exception_RetryLater
  * @throws \Dropbox\Exception_ServerError
  */
 public function deleteItem($path = null, ilCloudFileTree $file_tree = null)
 {
     $path = ilCloudUtil::joinPaths($file_tree->getRootPath(), $path);
     return $this->getServiceObject()->delete($path);
 }