Skip to content
Snippets Groups Projects
Commit 6f5de37f authored by Joas Schilling's avatar Joas Schilling
Browse files

Fix module registration

parent 25b5adfe
Branches
No related tags found
No related merge requests found
......@@ -2,5 +2,7 @@
$manager = \OC::$server->getEncryptionManager();
$module = new \OCA\Encryption_Dummy\DummyModule();
$manager->registerEncryptionModule('OC_DUMMY_MODULE', 'Dummy Encryption Module', $module);
$manager->registerEncryptionModule('OC_DUMMY_MODULE', 'Dummy Encryption Module', function() use ($module) {
return $module;
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment