mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Remove code that was accidentally landed
Summary: See some discussion in D18378. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18380
This commit is contained in:
parent
bd47d001b5
commit
71eaf3e8c4
1 changed files with 2 additions and 6 deletions
|
@ -854,7 +854,7 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
|||
return $this->getTransformedURI($transform->getTransformKey());
|
||||
}
|
||||
|
||||
private function getTransformedURI($transform, $cdn) {
|
||||
private function getTransformedURI($transform) {
|
||||
$parts = array();
|
||||
$parts[] = 'file';
|
||||
$parts[] = 'xform';
|
||||
|
@ -871,11 +871,7 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
|||
$path = implode('/', $parts);
|
||||
$path = $path.'/';
|
||||
|
||||
if ($cdn) {
|
||||
return PhabricatorEnv::getCDNURI($path);
|
||||
} else {
|
||||
return PhabricatorEnv::getURI($path);
|
||||
}
|
||||
return PhabricatorEnv::getCDNURI($path);
|
||||
}
|
||||
|
||||
public function isViewableInBrowser() {
|
||||
|
|
Loading…
Reference in a new issue