diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-14 12:53:13 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-14 13:08:59 +0200 |
commit | cbe30f740ede9df6ef30a7b65746957ca42996b2 (patch) | |
tree | 18d903ae02a8d1266e64d91d7e24eef8153249d2 /apps | |
parent | 967e882757bdaf2f9703884f65dcd3c88530422c (diff) | |
download | nextcloud-server-cbe30f740ede9df6ef30a7b65746957ca42996b2.tar.gz nextcloud-server-cbe30f740ede9df6ef30a7b65746957ca42996b2.zip |
remove calculateUnencryptedSize() - not needed
Diffstat (limited to 'apps')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 10 | ||||
-rw-r--r-- | apps/encryption_dummy/lib/dummymodule.php | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index 13beda196ce..fd5a84c9734 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -309,16 +309,6 @@ class Encryption implements IEncryptionModule { } /** - * calculate unencrypted size - * - * @param string $path to file - * @return integer unencrypted size - */ - public function calculateUnencryptedSize($path) { - // TODO: Implement calculateUnencryptedSize() method. - } - - /** * get size of the unencrypted payload per block. * ownCloud read/write files with a block size of 8192 byte * diff --git a/apps/encryption_dummy/lib/dummymodule.php b/apps/encryption_dummy/lib/dummymodule.php index b4dfe34a9bf..813b50edcbd 100644 --- a/apps/encryption_dummy/lib/dummymodule.php +++ b/apps/encryption_dummy/lib/dummymodule.php @@ -119,16 +119,6 @@ class DummyModule implements IEncryptionModule { return false; } - /** - * calculate unencrypted size - * - * @param string $path to file - * @return integer unencrypted size - */ - public function calculateUnencryptedSize($path) { - return 42; - } - public function getUnencryptedBlockSize() { return 6126; } |