server/apps/encryption_dummy/appinfo/app.php
2015-04-27 12:21:27 +02:00

8 lines
237 B
PHP

<?php
$manager = \OC::$server->getEncryptionManager();
$module = new \OCA\Encryption_Dummy\DummyModule();
$manager->registerEncryptionModule('OC_DUMMY_MODULE', 'Dummy Encryption Module', function() use ($module) {
return $module;
});