Skip to content

Commit

Permalink
removing comet chat calls and clean up of unused code (#1943)
Browse files Browse the repository at this point in the history
  • Loading branch information
Troy-Lawson authored and Phanoix committed Nov 29, 2018
1 parent bc33e8b commit a93a5c9
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 29 deletions.
7 changes: 1 addition & 6 deletions mod/freshdesk_help/pages/embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@

echo elgg_view_page(elgg_echo('freshdesk:page:title', array(), $lang), elgg_view('freshdesk/embed'), 'embeded');
?>
<script>
//remove cometchat from window
$(document).ready(function () {
$('#cometchat').empty();
});
</script>

2 changes: 0 additions & 2 deletions mod/freshdesk_help/views/default/page/freshdesk-html.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]-->
<head>
<link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8">
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
<?php echo $vars["head"]; ?>
</head>
<body<?php echo $attrs ?>>
Expand Down
6 changes: 0 additions & 6 deletions mod/gc_api/pages/gc_api/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,3 @@
echo elgg_view("page/elements/html", $params);
?>

<script>
//remove cometchat from view
$(document).ready(function () {
$('#cometchat').empty();
});
</script>
7 changes: 1 addition & 6 deletions mod/gc_api/pages/gc_api/share.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,4 @@
);
echo elgg_view("page/elements/html", $params);
?>
<script>
//remove cometchat from window
$(document).ready(function () {
$('#cometchat').empty();
});
</script>

4 changes: 0 additions & 4 deletions mod/gc_api/widget/en/shareWidget.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@
background-color: #007173;
}

#cometchat
{
display: none !important;
}
2 changes: 0 additions & 2 deletions mod/wet4/views/default/page/elements/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!--<![endif]-->
<head>
<link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8">
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
<?php echo $vars["head"]; ?>
</head>
<body<?php echo $attrs ?>>
Expand Down
4 changes: 1 addition & 3 deletions mod/wet4_collab/views/default/page/elements/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
document.cookie = "cc_data="+userid;
</script>
<head>
<link type="text/css" href="https://comet.gccollab.ca/cometchatcss.php" rel="stylesheet" charset="utf-8">
<script type="text/javascript" src="https://comet.gccollab.ca/cometchatjs.php" charset="utf-8"></script>
<?php
<?php
echo str_replace("_graphics/favicon", "_graphics/favicon-collab", $vars["head"]);
?>
</head>
Expand Down

0 comments on commit a93a5c9

Please sign in to comment.