add $redir->redir_url to use in common_linkify()

This commit is contained in:
hannes 2016-01-05 23:07:24 +00:00
parent 8b78e01d4c
commit 1c25cffbd8

View File

@ -195,6 +195,7 @@ class File_redirection extends Managed_DataObject
$redir->httpcode = $redir_info['code'];
$redir->redirections = intval($redir_info['redirects']);
$redir->redir_url = $redir_info['url'];
$redir->file = new File();
$redir->file->url = $redir_info['url'];
$redir->file->mimetype = $redir_info['type'];
@ -396,4 +397,4 @@ class File_redirection extends Managed_DataObject
return $this->file;
}
}
}