Skip to content

Commit

Permalink
Update to 1.0.2
Browse files Browse the repository at this point in the history
Release 1.0.2 update
  • Loading branch information
samerton committed Jan 15, 2016
1 parent c8d0eeb commit 5167cd2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
8 changes: 7 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,10 @@
- Add Minecraft status module to forum
- Add better registration error messages
- Add reCAPTCHA secret key field to AdminCP
- Change method of checking to see if a Minecraft username is valid
- Change method of checking to see if a Minecraft username is valid

1.0.2
- Update German translation (thanks to @manuelgu)
- Fix issue with resetting passwords on servers running PHP < 5.5
- Fix issue where UUID would return empty during registration
- Fix Buycraft API query
17 changes: 17 additions & 0 deletions core/includes/updates/101.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
// 1.0.1 -> 1.0.2 updater

// Update version number
$version_number_id = $queries->getWhere('settings', array('name', '=', 'version'));
$version_number_id = $version_number_id[0]->id;

$queries->update('settings', $version_number_id, array(
'value' => '1.0.2'
));

$version_update_id = $queries->getWhere('settings', array('name', '=', 'version_update'));
$version_update_id = $version_update_id[0]->id;

$queries->update('settings', $version_update_id, array(
'value' => 'false'
));
4 changes: 2 additions & 2 deletions pages/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@
// Version update
$version_id = $queries->getWhere('settings', array('name', '=', 'version'));
$queries->update('settings', $version_id[0]->id, array(
'value' => '1.0.1'
'value' => '1.0.2'
));


Expand Down Expand Up @@ -974,7 +974,7 @@
),
28 => array(
'name' => 'version',
'value' => '1.0.1'
'value' => '1.0.2'
),
29 => array(
'name' => 'version_checked',
Expand Down

0 comments on commit 5167cd2

Please sign in to comment.