[Pkg-owncloud-commits] [owncloud] 81/215: Fix module registration

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 6f5de37f5b7fa916b976a9c156bed9a1c1cfebd0
Author: Joas Schilling <nickvergessen at owncloud.com>
Date:   Mon Apr 27 12:21:27 2015 +0200

    Fix module registration
---
 apps/encryption_dummy/appinfo/app.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/apps/encryption_dummy/appinfo/app.php b/apps/encryption_dummy/appinfo/app.php
index f04886f..51a535a 100644
--- a/apps/encryption_dummy/appinfo/app.php
+++ b/apps/encryption_dummy/appinfo/app.php
@@ -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;
+});
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list