Example #1
0
 /** {@inheritdoc} */
 public function unlink($path)
 {
     $this->checkAvailability();
     try {
         return parent::unlink($path);
     } catch (\OCP\Files\StorageNotAvailableException $e) {
         $this->setAvailability(false);
         throw $e;
     }
 }