Skip to content

Commit

Permalink
v.7.3.0 & Upgrade script from 7.3.0.RC to 7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Trofimov committed Mar 4, 2016
1 parent ea6a97e commit 616efdf
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/version.inc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

$site['ver'] = '7.3';
$site['build'] = '0'; // RC
$site['ver'] = '7.3';
$site['build'] = '0';

2 changes: 1 addition & 1 deletion install/sql/v72.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ INSERT INTO `sys_options` VALUES
SET @iCatHidden = 0;
INSERT INTO `sys_options` VALUES

('sys_tmp_version', '7.3.0.RC', @iCatHidden, 'Dolphin version ', 'digit', '', '', 10, ''),
('sys_tmp_version', '7.3.0', @iCatHidden, 'Dolphin version ', 'digit', '', '', 10, ''),
('license_code', '', @iCatHidden, 'Dolphin License Code', 'digit', '', '', 11, ''),
('license_expiration', '', @iCatHidden, 'Dolphin License Expiration', 'digit', '', '', 12, ''),
('license_checksum', '', @iCatHidden, 'Dolphin License Checksum', 'digit', '', '', 13, ''),
Expand Down
8 changes: 8 additions & 0 deletions upgrade/files/7.3.0.RC-7.3.0/check.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

$mixCheckResult = 'Update can not be applied';

if ('7.3.0.RC' == $this->oDb->getOne("SELECT `VALUE` FROM `sys_options` WHERE `Name` = 'sys_tmp_version'"))
$mixCheckResult = true;

return $mixCheckResult;
9 changes: 9 additions & 0 deletions upgrade/files/7.3.0.RC-7.3.0/conclusion.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<b>IMPORTANT!!!</b><br />
Automatic part of upgrade is completed. Please do the following to complete upgrade process: <br />
<ul>
<li>Clean <b>/cache/</b>, <b>/cache_public/</b> and <b>/tmp/</b> folders via FTP or SSH, leave only .htaccess file there if one exists</li>
<li>Recompile system language file from Admin Panel -&gt; Settings -&gt; Languages Settings -&gt; Languages</li>
<li>Clean <b>/cache/</b> folder again</li>
<li>Recompile Forum language file for all templates from Admin Panel -&gt; Modules -&gt; Forum -&gt; Manage Forum</li>
<li>Remove <b>/upgrade/</b> directory</li>
</ul>
4 changes: 4 additions & 0 deletions upgrade/files/7.3.0.RC-7.3.0/modules/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore
3 changes: 3 additions & 0 deletions upgrade/files/7.3.0.RC-7.3.0/script.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

return true;
6 changes: 6 additions & 0 deletions upgrade/files/7.3.0.RC-7.3.0/sql.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


-- last step is to update current version

UPDATE `sys_options` SET `VALUE` = '7.3.0' WHERE `Name` = 'sys_tmp_version';

0 comments on commit 616efdf

Please sign in to comment.