1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +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:
Joshua Spence 2017-08-10 08:59:52 +10:00
parent bd47d001b5
commit 71eaf3e8c4

View file

@ -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() {