3 if (!defined('GNUSOCIAL')) { exit(1); }
6 * Download notice attachment
10 * @author Mikael Nordfeldth <mmn@hethane.se>
11 * @license https://www.gnu.org/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
12 * @link https:/gnu.io/social
14 class Attachment_downloadAction extends AttachmentAction
16 public function showPage()
18 common_redirect($this->attachment->getUrl(), 302);