Skip to content

Commit

Permalink
changing the check for installed plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmatic69 committed Sep 30, 2012
1 parent 6db3b2c commit 6c5e773
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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'),
Expand Down
2 changes: 1 addition & 1 deletion Core/Newsletter/View/Newsletters/admin_dashboard.ctp
Expand Up @@ -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'),
Expand Down

0 comments on commit 6c5e773

Please sign in to comment.