]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add $redir->redir_url to use in common_linkify()
authorhannes <h@nnesmannerhe.im>
Tue, 5 Jan 2016 23:07:24 +0000 (23:07 +0000)
committerhannes <h@nnesmannerhe.im>
Tue, 5 Jan 2016 23:07:24 +0000 (23:07 +0000)
classes/File_redirection.php

index a324deaa5d59fbe1ca07e088e232c1e6e7594dd6..03df3de1b1153e8e8a496b07eaeb8e1c08f0134b 100644 (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;
     }
-}
+}
\ No newline at end of file