[Pkg-owncloud-commits] [owncloud] 148/215: method shouldn't be static

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 29bcfb2fdbfd922b6918cd8665d4f31858d7e08e
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Tue Apr 28 18:06:46 2015 +0200

    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 782dbbe..65af3a9 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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list