summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-28 18:06:46 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-04-28 20:21:53 +0200
commit29bcfb2fdbfd922b6918cd8665d4f31858d7e08e (patch)
treee271eaa3b16f60ab39c6641a447d0f3716352652 /apps
parentd5cbb66b667e5850bd6ed45d7a211d332d1c93c8 (diff)
downloadnextcloud-server-29bcfb2fdbfd922b6918cd8665d4f31858d7e08e.tar.gz
nextcloud-server-29bcfb2fdbfd922b6918cd8665d4f31858d7e08e.zip
method shouldn't be static
Diffstat (limited to 'apps')
-rw-r--r--apps/encryption/lib/crypto/crypt.php2
1 files changed, 1 insertions, 1 deletions
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) {