aboutsummaryrefslogtreecommitdiffstats
path: root/mod/filestorage.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-06 18:13:02 -0800
committerfriendica <info@friendica.com>2014-01-06 18:13:02 -0800
commit5a5466346cccecec257fc20a993bfa2426b8bf48 (patch)
treed0dc294fdf33ac1c733d5d0fbdc272052822d187 /mod/filestorage.php
parent41df51a8151a5c1f35abe3c04f94e43b673e29ff (diff)
downloadvolse-hubzilla-5a5466346cccecec257fc20a993bfa2426b8bf48.tar.gz
volse-hubzilla-5a5466346cccecec257fc20a993bfa2426b8bf48.tar.bz2
volse-hubzilla-5a5466346cccecec257fc20a993bfa2426b8bf48.zip
prepare for OS file storage, and add bbcode attachment link to mod/filestorage. This isn't beautiful, but it's a start.
Diffstat (limited to 'mod/filestorage.php')
-rw-r--r--mod/filestorage.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/filestorage.php b/mod/filestorage.php
index 152b449c2..1063de256 100644
--- a/mod/filestorage.php
+++ b/mod/filestorage.php
@@ -137,7 +137,9 @@ function filestorage_content(&$a) {
'id' => $rr['id'],
'download' => $rr['hash'],
'title' => $rr['filename'],
- 'size' => $rr['filesize']
+ 'size' => $rr['filesize'],
+ 'rev' => $rr['revision']
+
);
}
}