mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 23:12:04 -04:00
method shouldn't be static
This commit is contained in:
parent
d5cbb66b66
commit
29bcfb2fdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue