Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15381640
D18380.id44173.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
819 B
Referenced Files
None
Subscribers
None
D18380.id44173.diff
View Options
diff --git a/src/applications/files/storage/PhabricatorFile.php b/src/applications/files/storage/PhabricatorFile.php
--- a/src/applications/files/storage/PhabricatorFile.php
+++ b/src/applications/files/storage/PhabricatorFile.php
@@ -854,7 +854,7 @@
return $this->getTransformedURI($transform->getTransformKey());
}
- private function getTransformedURI($transform, $cdn) {
+ private function getTransformedURI($transform) {
$parts = array();
$parts[] = 'file';
$parts[] = 'xform';
@@ -871,11 +871,7 @@
$path = implode('/', $parts);
$path = $path.'/';
- if ($cdn) {
- return PhabricatorEnv::getCDNURI($path);
- } else {
- return PhabricatorEnv::getURI($path);
- }
+ return PhabricatorEnv::getCDNURI($path);
}
public function isViewableInBrowser() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 8:43 AM (6 d, 2 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7516876
Default Alt Text
D18380.id44173.diff (819 B)
Attached To
Mode
D18380: Remove code that was accidentally landed
Attached
Detach File
Event Timeline
Log In to Comment