Skip to content
Snippets Groups Projects
Commit 830f5d24 authored by Björn Schießle's avatar Björn Schießle
Browse files

add decryptall.php

parent 0a3d662d
No related branches found
No related tags found
No related merge requests found
<?php
$status = OC_App::isEnabled('files_encryption');
OC_App::enable('files_encryption');
OCA\Encryption\Crypt::decryptAll();
if ($status === false) {
OC_App::disable('files_encryption');
}
\OCP\JSON::success(array('data' => array('message' => 'looks good')));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment