mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Remove chatbot example configuration
Summary: This is no longer needed after the chatbot was removed in D17756. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18378
This commit is contained in:
parent
46d1596bf7
commit
bd47d001b5
2 changed files with 6 additions and 26 deletions
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"server" : "irc.freenode.net",
|
||||
"port" : 6667,
|
||||
"nick" : "phabot",
|
||||
"join" : [
|
||||
"#phabot-test"
|
||||
],
|
||||
"handlers" : [
|
||||
"PhabricatorBotObjectNameHandler",
|
||||
"PhabricatorBotSymbolHandler",
|
||||
"PhabricatorBotLogHandler",
|
||||
"PhabricatorBotFeedNotificationHandler",
|
||||
"PhabricatorBotWhatsNewHandler",
|
||||
"PhabricatorBotMacroHandler"
|
||||
],
|
||||
|
||||
"conduit.uri" : null,
|
||||
"conduit.token" : null,
|
||||
|
||||
"macro.size" : 48,
|
||||
"macro.aspect" : 0.66,
|
||||
|
||||
"notification.channels" : ["#phabot-test"]
|
||||
}
|
|
@ -854,7 +854,7 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
|||
return $this->getTransformedURI($transform->getTransformKey());
|
||||
}
|
||||
|
||||
private function getTransformedURI($transform) {
|
||||
private function getTransformedURI($transform, $cdn) {
|
||||
$parts = array();
|
||||
$parts[] = 'file';
|
||||
$parts[] = 'xform';
|
||||
|
@ -871,7 +871,11 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
|||
$path = implode('/', $parts);
|
||||
$path = $path.'/';
|
||||
|
||||
return PhabricatorEnv::getCDNURI($path);
|
||||
if ($cdn) {
|
||||
return PhabricatorEnv::getCDNURI($path);
|
||||
} else {
|
||||
return PhabricatorEnv::getURI($path);
|
||||
}
|
||||
}
|
||||
|
||||
public function isViewableInBrowser() {
|
||||
|
|
Loading…
Reference in a new issue