예제 #1
0
 /**
  * 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);
 }