forked from GNUsocial/gnu-social
add $redir->redir_url to use in common_linkify()
This commit is contained in:
parent
8b78e01d4c
commit
1c25cffbd8
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user