Skip to content

Commit

Permalink
Change: set new version number 1.8.beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
auge8472 committed Nov 27, 2019
1 parent ec2d34b commit b2c3f12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
my little forum
version 1.8.beta1 - 2019-11-27
version 1.8.beta2 - 2019-11-27
Copyright (C) 2004-2008 mylittleforum.net
Copyright (C) 2009-2018 auge8472.de
https://www.projekt-mlf.de/
Expand Down
4 changes: 2 additions & 2 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
$settings['mail_parameter'] = "";
$settings['forum_disabled'] = 0;
$settings['session_prefix'] = "mlf_";
$settings['version'] = '1.8.beta1';
$settings['version'] = '1.8.beta2';
$settings['captcha_posting'] = 0;
$settings['captcha_contact'] = 0;
$settings['captcha_register'] = 0;
Expand Down Expand Up @@ -297,7 +297,7 @@ function update17to18() {
@mysqli_query($connid, "ALTER TABLE ". $db_settings['useronline_table'] ." CHANGE time time int(14) NOT NULL default 0, CHANGE user_id user_id int(11) default 0, CONVERT TO CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci") or $errors[] = str_replace("[table]",$db_settings['useronline_table'],$lang_add['alter_table_error']) ." (MySQL: ".mysqli_error($connid).")";
@mysqli_query($connid, "ALTER TABLE ". $db_settings['useronline_table'] ." ADD UNIQUE KEY ip_user (ip,user_id)") or $errors[] = str_replace("[table]",$db_settings['useronline_table'],$lang_add['alter_table_error']) ." (MySQL: ".mysqli_error($connid).")";
@mysqli_query($connid, "DELETE FROM ". $db_settings['settings_table'] ." WHERE name = 'template'") or $errors[] = $lang_add['delete_entry_error']." (MySQL: ".mysqli_error($connid).")";
@mysqli_query($connid, "UPDATE ". $db_settings['settings_table'] ." SET value='1.8.beta1' WHERE name = 'version'") or $errors[] = $lang_add['update_error']. " (MySQL: ".mysqli_error($connid).")";
@mysqli_query($connid, "UPDATE ". $db_settings['settings_table'] ." SET value='1.8.beta2' WHERE name = 'version'") or $errors[] = $lang_add['update_error']. " (MySQL: ".mysqli_error($connid).")";
if (isset($errors)) return $errors;
return false;
}
Expand Down

0 comments on commit b2c3f12

Please sign in to comment.