diff --git a/Core/Contents/View/Elements/modules/admin/dashboard_links.ctp b/Core/Contents/View/Elements/modules/admin/dashboard_links.ctp index 9f39227d4..e477e1e88 100755 --- a/Core/Contents/View/Elements/modules/admin/dashboard_links.ctp +++ b/Core/Contents/View/Elements/modules/admin/dashboard_links.ctp @@ -38,7 +38,7 @@ ) ); - if($this->Infinitas->hasPlugin('ViewCounter')) { + if(InfinitasPlugin::loaded('ViewCounter')) { $links['config'][] = array( 'name' => __d('view_counter', 'Views'), 'description' => __d('blog', 'Track content popularity'), diff --git a/Core/Newsletter/View/Newsletters/admin_dashboard.ctp b/Core/Newsletter/View/Newsletters/admin_dashboard.ctp index 0b3e67c4b..026536726 100755 --- a/Core/Newsletter/View/Newsletters/admin_dashboard.ctp +++ b/Core/Newsletter/View/Newsletters/admin_dashboard.ctp @@ -113,7 +113,7 @@ ) ); - if($this->Infinitas->hasPlugin('ViewCounter')) { + if(InfinitasPlugin::loaded('ViewCounter')) { $links['config'][] = array( 'name' => __d('newsletter', 'Views'), 'description' => __d('newsletter', 'Track content popularity'),