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