Skip to content

Commit

Permalink
Merge pull request #249 from wirecard/SSD-13-feature
Browse files Browse the repository at this point in the history
Removed Live Chat feature
  • Loading branch information
edra-bumci authored Jun 19, 2020
2 parents 9e60d7b + 5d7f331 commit 1420448
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 111 deletions.
12 changes: 0 additions & 12 deletions Controller/Admin/Tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,6 @@ public function render()
return $sTemplate;
}

/**
* Determines whether the live chat should be displayed in the tab.
*
* @return boolean
*
* @since 1.1.0
*/
public function shouldDisplayLiveChat()
{
return $this->_oOrder->isCustomPaymentMethod();
}

/**
* Check if $_sListObjectId is set
*
Expand Down
1 change: 0 additions & 1 deletion metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@
'form_interaction.tpl' => 'wirecard/paymentgateway/views/form_interaction.tpl',
'module_support.tpl' => 'wirecard/paymentgateway/views/admin/tpl/module_support.tpl',
'module_support_email.tpl' => 'wirecard/paymentgateway/views/admin/tpl/email/module_support_email.tpl',
'live_chat.tpl' => 'wirecard/paymentgateway/views/admin/inc/live_chat.tpl',
'sepa_mandate_modal.tpl' => 'wirecard/paymentgateway/views/blocks/sepa_mandate_modal.tpl',
'sepa_mandate.tpl' => 'wirecard/paymentgateway/views/blocks/sepa_mandate.tpl',
'table.tpl' => 'wirecard/paymentgateway/views/admin/inc/table.tpl',
Expand Down
67 changes: 0 additions & 67 deletions out/css/wirecard_wdoxidee_livechat.css

This file was deleted.

4 changes: 0 additions & 4 deletions views/admin/blocks/admin_module_config_form.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
[{$smarty.block.parent}]

[{if $oViewConf->isThisModule($oModule->getId())}]
[{include file="live_chat.tpl"}]
[{/if}]
6 changes: 1 addition & 5 deletions views/admin/blocks/admin_payment_main_editor.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
[{$smarty.block.parent}]

[{if $edit && $edit->isCustomPaymentMethod()}]
[{include file="live_chat.tpl"}]
[{/if}]
[{$smarty.block.parent}]
10 changes: 0 additions & 10 deletions views/admin/inc/live_chat.tpl

This file was deleted.

4 changes: 0 additions & 4 deletions views/admin/tpl/tab_post_processing.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@
</script>
[{/if}]

[{if $oView->shouldDisplayLiveChat()}]
[{include file="live_chat.tpl"}]
[{/if}]

[{include file="bottomnaviitem.tpl"}]

[{include file="bottomitem.tpl"}]
4 changes: 0 additions & 4 deletions views/admin/tpl/tab_simple.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ function wdCopyToClipboard(text)
<em>[{$emptyText}]</em>
[{/if}]

[{if $oView->shouldDisplayLiveChat()}]
[{include file="live_chat.tpl"}]
[{/if}]

[{include file="bottomnaviitem.tpl"}]

[{include file="bottomitem.tpl"}]
4 changes: 0 additions & 4 deletions views/admin/tpl/tab_table.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
<em>[{$emptyText}]</em>
[{/if}]

[{if $oView->shouldDisplayLiveChat()}]
[{include file="live_chat.tpl"}]
[{/if}]

[{include file="bottomnaviitem.tpl"}]

[{include file="bottomitem.tpl"}]

0 comments on commit 1420448

Please sign in to comment.