aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-11-19 13:11:04 +0100
committerMario <mario@mariovavti.com>2018-11-19 13:11:04 +0100
commitaf0c2f59cc1a51d2e1847682f6d66ab4dc600004 (patch)
treef551a23a988e6bb6f197d9ed67dcdeacdd998a88
parentdffc0a4ed8fc04f0e95bbee1941509fb6b859913 (diff)
downloadvolse-hubzilla-af0c2f59cc1a51d2e1847682f6d66ab4dc600004.tar.gz
volse-hubzilla-af0c2f59cc1a51d2e1847682f6d66ab4dc600004.tar.bz2
volse-hubzilla-af0c2f59cc1a51d2e1847682f6d66ab4dc600004.zip
Revert "Add filesize for streaming content"
This reverts commit 238a616292ad5c6e7be97a4dd763a302729abf80
-rw-r--r--Zotlabs/Module/Photo.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zotlabs/Module/Photo.php b/Zotlabs/Module/Photo.php
index be9d55eb2..91175c7df 100644
--- a/Zotlabs/Module/Photo.php
+++ b/Zotlabs/Module/Photo.php
@@ -167,7 +167,6 @@ class Photo extends \Zotlabs\Web\Controller {
$modified = strtotime($e[0]['edited'] . 'Z');
if(intval($e[0]['os_storage'])) {
$streaming = $data;
- $filesize = filesize($data);
}
else
$filesize = $e[0]['filesize'];