make goaway link work

This commit is contained in:
marijus 2014-01-10 16:54:16 +01:00
parent d17c0fe1fc
commit c4705724f1

View File

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