From 14571d41038970cf214daf986efdc70952ff2350 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Wed, 17 Sep 2014 17:12:06 +0200
Subject: [PATCH] force loading of encryption app

---
 apps/files_encryption/files/error.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apps/files_encryption/files/error.php b/apps/files_encryption/files/error.php
index c33a5a531f..b801c17bd4 100644
--- a/apps/files_encryption/files/error.php
+++ b/apps/files_encryption/files/error.php
@@ -4,6 +4,9 @@ if (!isset($_)) { //also provide standalone error page
 	require_once __DIR__ . '/../../../lib/base.php';
 	require_once __DIR__ . '/../lib/crypt.php';
 
+	OC_JSON::checkAppEnabled('files_encryption');
+	OC_App::loadApp('files_encryption');
+
 	$l = \OC::$server->getL10N('files_encryption');
 
 	if (isset($_GET['errorCode'])) {
-- 
GitLab