From 29bcfb2fdbfd922b6918cd8665d4f31858d7e08e Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 28 Apr 2015 18:06:46 +0200 Subject: [PATCH] method shouldn't be static --- apps/encryption/lib/crypto/crypt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/encryption/lib/crypto/crypt.php b/apps/encryption/lib/crypto/crypt.php index 782dbbe5a35..65af3a93d0a 100644 --- a/apps/encryption/lib/crypto/crypt.php +++ b/apps/encryption/lib/crypto/crypt.php @@ -410,7 +410,7 @@ class Crypt { * @return string * @throws \Exception */ - public static function generateFileKey() { + public function generateFileKey() { // Generate key $key = base64_encode(openssl_random_pseudo_bytes(32, $strong)); if (!$key || !$strong) {