forked from GNUsocial/gnu-social
DocFile::fromTitle() -> DocFile::forTitle()
This commit is contained in:
parent
9e7b880df7
commit
17adc94df7
@ -283,7 +283,7 @@ class InviteAction extends CurrentUserDesignAction
|
|||||||
|
|
||||||
$title = (empty($personal)) ? 'invite' : 'invitepersonal';
|
$title = (empty($personal)) ? 'invite' : 'invitepersonal';
|
||||||
|
|
||||||
$inviteTemplate = DocFile::fromTitle($title, DocFile::mailPaths());
|
$inviteTemplate = DocFile::forTitle($title, DocFile::mailPaths());
|
||||||
|
|
||||||
$body = $inviteTemplate->toHTML(array('inviter' => $bestname,
|
$body = $inviteTemplate->toHTML(array('inviter' => $bestname,
|
||||||
'inviteurl' => $profile->profileurl,
|
'inviteurl' => $profile->profileurl,
|
||||||
|
Loading…
Reference in New Issue
Block a user