try {
$path = $userFolder->get($path);
} catch (NotFoundException $e) {
- throw new OCSNotFoundException($this->l->t('Wrong path, file/folder doesn\'t exist'));
+ throw new OCSNotFoundException($this->l->t('Wrong path, file/folder does not exist'));
}
$share->setNode($path);
$this->lock($node);
} catch (NotFoundException $e) {
throw new OCSNotFoundException(
- $this->l->t('Wrong path, file/folder doesn\'t exist')
+ $this->l->t('Wrong path, file/folder does not exist')
);
} catch (LockedException $e) {
throw new OCSNotFoundException($this->l->t('Could not lock node'));
$node = $userFolder->get($path);
$this->lock($node);
} catch (\OCP\Files\NotFoundException $e) {
- throw new OCSNotFoundException($this->l->t('Wrong path, file/folder doesn\'t exist'));
+ throw new OCSNotFoundException($this->l->t('Wrong path, file/folder does not exist'));
} catch (LockedException $e) {
throw new OCSNotFoundException($this->l->t('Could not lock path'));
}