Skip to content

Commit

Permalink
Fix: Library connecting fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glomberg committed Oct 14, 2020
1 parent a6557ba commit d91dc0f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions 2.x - 2.2.x/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
{
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_registrations'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand Down Expand Up @@ -104,6 +105,7 @@
{
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_registrations'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand Down Expand Up @@ -135,6 +137,7 @@
{
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_orders'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand All @@ -155,6 +158,7 @@
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_return'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand All @@ -173,6 +177,7 @@
{
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_orders'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand All @@ -191,6 +196,7 @@
{
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_reviews'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand All @@ -209,6 +215,7 @@
{
if ($this->config->get('module_antispambycleantalk_status') && $this->config->get('module_antispambycleantalk_check_registrations'))
{
require_once(DIR_SYSTEM . 'library/antispambycleantalk/Core.php');
$this->registry->set( 'apbct', AntispamByCleantalk\Core::get_instance( $this->registry ) );
$this->apbct->init( $this->config );
if( $this->apbct->is_spam( $this ) )
Expand Down

0 comments on commit d91dc0f

Please sign in to comment.