Changeset View
Changeset View
Standalone View
Standalone View
src/applications/macro/engine/PhabricatorMemeEngine.php
Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | if ($this->templateFile === null) { | ||||
$this->templateFile = $macro->getFile(); | $this->templateFile = $macro->getFile(); | ||||
} | } | ||||
return $this->templateFile; | return $this->templateFile; | ||||
} | } | ||||
private function newAssetFile(PhabricatorFile $template) { | private function newAssetFile(PhabricatorFile $template) { | ||||
$data = $this->newAssetData($template); | $data = $this->newAssetData($template); | ||||
// TODO | |||||
Lint: TODO Comment: This comment has a TODO. | |||||
return PhabricatorFile::newFromFileData( | return PhabricatorFile::newFromFileData( | ||||
$data, | $data, | ||||
array( | array( | ||||
'name' => 'meme-'.$template->getName(), | 'name' => 'meme-'.$template->getName(), | ||||
'canCDN' => true, | 'canCDN' => true, | ||||
// In modern code these can end up linked directly in email, so let | // In modern code these can end up linked directly in email, so let | ||||
// them stick around for a while. | // them stick around for a while. | ||||
▲ Show 20 Lines • Show All 221 Lines • Show Last 20 Lines |
This comment has a TODO.