Skip to content

Commit

Permalink
Смена названий
Browse files Browse the repository at this point in the history
  • Loading branch information
vamcart committed Jul 11, 2018
1 parent 3454e31 commit 5660620
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Analytics: Analytics Helper Croogo Plugin
Analytics: Analytics Helper Vamshop Plugin
Copyright (c) 2013, Rachman Chavik

Permission is hereby granted, free of charge, to any person obtaining a
Expand Down
4 changes: 2 additions & 2 deletions config/PluginActivation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function beforeActivation()

public function onActivation()
{
$settings = \Cake\ORM\TableRegistry::get('Croogo/Settings.Settings');
$settings = \Cake\ORM\TableRegistry::get('Vamshop/Settings.Settings');
$settings->write('Site.Analytics.webPropertyId', '', [
'editable' => 1,
'title' => 'Web Property ID',
Expand All @@ -33,7 +33,7 @@ public function beforeDeactivation()

public function onDeactivation()
{
$settings = \Cake\ORM\TableRegistry::get('Croogo/Settings.Settings');
$settings = \Cake\ORM\TableRegistry::get('Vamshop/Settings.Settings');
$settings->deleteKey('Site.Analytics.webPropertyId');
$settings->deleteKey('Site.Analytics.domain');
}
Expand Down
2 changes: 1 addition & 1 deletion config/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

\Croogo\Core\Croogo::hookHelper('*', 'Analytics.Analytics');
\Vamshop\Core\Vamshop::hookHelper('*', 'Analytics.Analytics');
2 changes: 1 addition & 1 deletion config/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"dependencies": {
"plugins": [
"Croogo/Extensions"
"Vamshop/Extensions"
]
}
}

0 comments on commit 5660620

Please sign in to comment.