Skip to content

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
cinghie committed Oct 1, 2015
1 parent 83b805a commit 3b2e7d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions widgets/CookieWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @github https://github.com/cinghie/yii2-cookie-consent
* @license GNU GENERAL PUBLIC LICENSE VERSION 3
* @package yii2-cookie-consent
* @version 1.3.0
* @version 1.4.0
*/

namespace cinghie\cookieconsent\widgets;
Expand All @@ -30,7 +30,6 @@ public function init(){
parent::init();

// Default Value

if(!$this->message) {
$this->message = 'This website uses cookies to ensure you get the best experience on our website.';
} else {
Expand Down Expand Up @@ -101,4 +100,4 @@ public function run($params = [])
]);
}

}
}
4 changes: 1 addition & 3 deletions widgets/views/cookieWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @github https://github.com/cinghie/yii2-cookie-consent
* @license GNU GENERAL PUBLIC LICENSE VERSION 3
* @package yii2-cookie-consent
* @version 1.3.0
* @version 1.4.0
*/

use cinghie\cookieconsent\assets\CookieAsset;
Expand All @@ -24,5 +24,3 @@
$codeJS .= " expiryDays: {$expiryDays} };";

$this->registerJs($codeJS);

?>

0 comments on commit 3b2e7d1

Please sign in to comment.