*/\r
public static function setFileKey( \OC_FilesystemView $view, $path, $userId, $catfile ) {\r
\r
+ \OC\Files\Filesystem::initMountPoints($userId);\r
$basePath = '/' . $userId . '/files_encryption/keyfiles';\r
\r
$targetPath = self::keySetPreparation( $view, $path, $basePath, $userId );\r
*/\r
public static function getFileKey( \OC_FilesystemView $view, $userId, $filePath ) {\r
\r
+ \OC\Files\Filesystem::initMountPoints($userId);\r
$filePath_f = ltrim( $filePath, '/' );\r
\r
$keyfilePath = '/' . $userId . '/files_encryption/keyfiles/' . $filePath_f . '.key';\r