/**
  * see http://php.net/manual/en/function.rmdir.php
  *
  * @param string $path
  * @return bool
  */
 public function rmdir($path)
 {
     $result = $this->storage->rmdir($path);
     $fullPath = $this->getFullPath($path);
     if ($result && $this->util->isExcluded($fullPath) === false && $this->encryptionManager->isEnabled()) {
         $this->keyStorage->deleteAllFileKeys($fullPath);
     }
     return $result;
 }
示例#2
0
文件: keymanager.php 项目: kenwi/core
 /**
  * @param string $path
  */
 public function deleteAllFileKeys($path)
 {
     return $this->keyStorage->deleteAllFileKeys($path);
 }