mirror of https://github.com/zulip/zulip.git
Remove dead code related to showing bots.
(The dead code made sense in the very early phases of sketching out the feature, but it's no longer executed.) (imported from commit 464145f227ddb25f0554bbbade0b0e3e0e399bc3)
This commit is contained in:
parent
949d6bfc8c
commit
ccd759cc3f
|
@ -5,11 +5,7 @@ var exports = {};
|
|||
function add_bot_row(name, email, avatar_url, api_key) {
|
||||
var avatar_cell;
|
||||
|
||||
if (avatar_url) {
|
||||
avatar_cell = $('<img>').attr('src', avatar_url).attr('class', 'avatar');
|
||||
} else {
|
||||
avatar_cell = '(default)';
|
||||
}
|
||||
avatar_cell = $('<img>').attr('src', avatar_url).attr('class', 'avatar');
|
||||
|
||||
var row = $('<tr></tr>').append($('<td>').text(name),
|
||||
$('<td>').text(email),
|
||||
|
|
Loading…
Reference in New Issue