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:
committed by
joshuaspence
parent
46d1596bf7
commit
bd47d001b5
@@ -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());
|
return $this->getTransformedURI($transform->getTransformKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getTransformedURI($transform) {
|
private function getTransformedURI($transform, $cdn) {
|
||||||
$parts = array();
|
$parts = array();
|
||||||
$parts[] = 'file';
|
$parts[] = 'file';
|
||||||
$parts[] = 'xform';
|
$parts[] = 'xform';
|
||||||
@@ -871,7 +871,11 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
|||||||
$path = implode('/', $parts);
|
$path = implode('/', $parts);
|
||||||
$path = $path.'/';
|
$path = $path.'/';
|
||||||
|
|
||||||
|
if ($cdn) {
|
||||||
return PhabricatorEnv::getCDNURI($path);
|
return PhabricatorEnv::getCDNURI($path);
|
||||||
|
} else {
|
||||||
|
return PhabricatorEnv::getURI($path);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isViewableInBrowser() {
|
public function isViewableInBrowser() {
|
||||||
|
|||||||
Reference in New Issue
Block a user