Esempio n. 1
0
 /** {@inheritdoc} */
 public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath)
 {
     $this->checkAvailability();
     try {
         return parent::copyFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
     } catch (\OCP\Files\StorageNotAvailableException $e) {
         $this->setAvailability(false);
         throw $e;
     }
 }