Page MenuHomePhabricator

D10332.diff
No OneTemporary

D10332.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
Sat, Jun 8, 6:09 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6287547
Default Alt Text
D10332.diff (950 B)

Event Timeline