diff --git a/source/php/App.php b/source/php/App.php index c0f56563..7212a90c 100755 --- a/source/php/App.php +++ b/source/php/App.php @@ -59,8 +59,6 @@ public function __construct() add_filter('Municipio/blade/view_paths', array($this, 'addViewPaths'), 2, 1); } }, 10); - - $this->cacheBust = new \EventManagerIntegration\Helper\CacheBust(); } /** @@ -121,7 +119,7 @@ public function enqueueFront() ); // Scripts - wp_register_script('event-integration', EVENTMANAGERINTEGRATION_URL . '/dist/' . $this->cacheBust->name('js/event-integration-front.js'), 'jquery', false, true); + wp_register_script('event-integration', EVENTMANAGERINTEGRATION_URL . '/dist/' . Helper\CacheBust::name('js/event-integration-front.js'), 'jquery', false, true); wp_localize_script('event-integration', 'eventintegration', array( 'ajaxurl' => admin_url('admin-ajax.php'),