]> source.dussan.org Git - nextcloud-server.git/commitdiff
force loading of encryption app
authorLukas Reschke <lukas@owncloud.com>
Wed, 17 Sep 2014 15:12:06 +0000 (17:12 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Mon, 13 Oct 2014 09:52:16 +0000 (11:52 +0200)
apps/files_encryption/files/error.php

index b436587dfaf47492b9abb2a59ee4eebd953a8e08..f022f92558d380ce323d86dcc6cc39aa12a21828 100644 (file)
@@ -6,6 +6,9 @@ if (!isset($_)) { //also provide standalone error page
 
        $l = OC_L10N::get('files_encryption');
 
+       OC_JSON::checkAppEnabled('files_encryption');
+       OC_App::loadApp('files_encryption');
+
        if (isset($_GET['errorCode'])) {
                $errorCode = $_GET['errorCode'];
                switch ($errorCode) {