diff --git a/changelog.txt b/changelog.txt index 2597558acb..3186e1d9d2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 \ No newline at end of file +- 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 diff --git a/core/includes/updates/101.php b/core/includes/updates/101.php new file mode 100644 index 0000000000..715643531e --- /dev/null +++ b/core/includes/updates/101.php @@ -0,0 +1,17 @@ + 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' +)); \ No newline at end of file diff --git a/pages/install.php b/pages/install.php index cea4aff1ad..9aa9f06da7 100644 --- a/pages/install.php +++ b/pages/install.php @@ -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' )); @@ -974,7 +974,7 @@ ), 28 => array( 'name' => 'version', - 'value' => '1.0.1' + 'value' => '1.0.2' ), 29 => array( 'name' => 'version_checked',