Skip to content

Commit

Permalink
version update
Browse files Browse the repository at this point in the history
  • Loading branch information
maskas committed Dec 10, 2014
1 parent d1ba14f commit a768505
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Ip/Application.php
Expand Up @@ -35,7 +35,7 @@ public function __construct($configPath)
*/
public static function getVersion()
{
return '4.4.0'; //CHANGE_ON_VERSION_UPDATE
return '4.4.1'; //CHANGE_ON_VERSION_UPDATE
}


Expand Down
6 changes: 6 additions & 0 deletions Ip/Internal/Update/Migration.php
Expand Up @@ -12,6 +12,12 @@ class Migration


//CHANGE_ON_VERSION_UPDATE
public static function update_75()
{
ipStorage()->set('Ip', 'cacheVersion', ipStorage()->get('Ip', 'cacheVersion', 1) + 1);
ipDb()->update('storage', array('value' => '"4.4.1"'), array('key' => 'version', 'plugin' => 'Ip'));
}

public static function update_74()
{
ipStorage()->set('Ip', 'cacheVersion', ipStorage()->get('Ip', 'cacheVersion', 1) + 1);
Expand Down
2 changes: 1 addition & 1 deletion Ip/Internal/Update/Model.php
Expand Up @@ -16,7 +16,7 @@ class Model
*/
public static function getDbVersion()
{
return 74; //CHANGE_ON_VERSION_UPDATE
return 75; //CHANGE_ON_VERSION_UPDATE
}

public static function migrationsAvailable()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
@@ -1,6 +1,6 @@
{
"name": "impresspages/impresspages",
"version": "4.4.0",
"version": "4.4.1",
"type": "project",
"description": "ImpressPages framework & CMS",
"keywords": ["impresspages","frameword","CMS"],
Expand Down
4 changes: 2 additions & 2 deletions install/Plugin/Install/sql/data.sql
Expand Up @@ -61,8 +61,8 @@ INSERT INTO `ip_storage` (`plugin`, `key`, `value`) VALUES
('Config', 'Pages.hideNewPages', '0'),
('Cron', 'lastExecutionStart', '[[[[time]]]]'),
('Cron', 'lastExecutionEnd', '[[[[time]]]]'),
('Ip', 'version', '"4.4.0"'), /* //CHANGE_ON_VERSION_UPDATE */
('Ip', 'dbVersion', '74'), /* //CHANGE_ON_VERSION_UPDATE */
('Ip', 'version', '"4.4.1"'), /* //CHANGE_ON_VERSION_UPDATE */
('Ip', 'dbVersion', '75'), /* //CHANGE_ON_VERSION_UPDATE */
('Ip', 'theme', '"Air"'),
('Ip', 'cachedBaseUrl', ''),
('Ip', 'lastSystemMessageSent', ''),
Expand Down
4 changes: 2 additions & 2 deletions phpunit/config.php
Expand Up @@ -21,5 +21,5 @@
define ('TEST_SCREENSHOT_PATH', __DIR__ . '/screenshots/');
define ('TEST_SCREENSHOT_URL', $isTravis ? 'http://localhost/phpunit/screenshots/' : 'http://localhost/ip4.x/phpunit/screenshots/');

define('CURRENT_VERSION', '4.4.0'); //CHANGE_ON_VERSION_UPDATE
define('CURRENT_DBVERSION', 74); //CHANGE_ON_VERSION_UPDATE
define('CURRENT_VERSION', '4.4.1'); //CHANGE_ON_VERSION_UPDATE
define('CURRENT_DBVERSION', 75); //CHANGE_ON_VERSION_UPDATE

0 comments on commit a768505

Please sign in to comment.