Merge pull request #263 from git-marijus/master

make goaway link work
This commit is contained in:
Thomas Willingham 2014-01-10 08:20:56 -08:00
commit ecbe798294

View File

@ -84,12 +84,12 @@ function filestorage_content(&$a) {
); );
if(! $r) { if(! $r) {
notice( t('File not found.') . EOL); notice( t('File not found.') . EOL);
goaway(z_root() . '/filestorage' . $which); goaway(z_root() . '/filestorage/' . $which);
} }
attach_delete($owner,$r[0]['hash']); attach_delete($owner,$r[0]['hash']);
goaway(z_root() . '/filestorage' . $which); goaway(z_root() . '/filestorage/' . $which);
} }