Page MenuHomePhabricator

D10332.id24873.diff
No OneTemporary

D10332.id24873.diff

diff --git a/src/applications/diffusion/controller/DiffusionSymbolController.php b/src/applications/diffusion/controller/DiffusionSymbolController.php
--- a/src/applications/diffusion/controller/DiffusionSymbolController.php
+++ b/src/applications/diffusion/controller/DiffusionSymbolController.php
@@ -57,6 +57,7 @@
$functions = get_defined_functions();
if (in_array($this->name, $functions['internal'])) {
return id(new AphrontRedirectResponse())
+ ->setIsExternal(true)
->setURI('http://www.php.net/function.'.$this->name);
}
}
@@ -65,6 +66,7 @@
interface_exists($this->name, false)) {
if (id(new ReflectionClass($this->name))->isInternal()) {
return id(new AphrontRedirectResponse())
+ ->setIsExternal(true)
->setURI('http://www.php.net/class.'.$this->name);
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 24, 8:46 PM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714870
Default Alt Text
D10332.id24873.diff (950 B)

Event Timeline