DocFile::fromTitle() -> DocFile::forTitle()

This commit is contained in:
Evan Prodromou 2011-04-18 10:10:38 -04:00
parent 9e7b880df7
commit 17adc94df7

View File

@ -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,