Skip to content

Commit

Permalink
#1332 Tag Luna 1.2 Preview 2 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Oct 1, 2015
1 parent 47bccf2 commit 7bcfee5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions include/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2269,10 +2269,11 @@ function decrease_post_counts($post_ids) {
function build_config($status, $config_key, $config_valua = NULL) {
global $luna_config, $db;

if ($status == 1)
if ($status == 1) {
if (!array_key_exists($config_key, $luna_config))
$db->query('INSERT INTO '.$db->prefix.'config (conf_name, conf_value) VALUES (\''.$config_key.'\', \''.$config_valua.'\')') or error('Unable to insert config value \''.$config_key.'\'', __FILE__, __LINE__, $db->error());
else
} else {
if (array_key_exists($config_key, $luna_config))
$db->query('DELETE FROM '.$db->prefix.'config WHERE conf_name = \''.$config_key.'\'') or error('Unable to remove config value \''.$config_key.'\'', __FILE__, __LINE__, $db->error());
}
}
6 changes: 3 additions & 3 deletions include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

class Version {
// See http://getluna.org/docs/version.php for more info
const FORUM_VERSION = '1.2-alpha.2';
const FORUM_CORE_VERSION = '1.2.4954';
const LUNA_CORE_REVISION = '120a2';
const FORUM_VERSION = '1.2-alpha.2.1';
const FORUM_CORE_VERSION = '1.2.4955';
const LUNA_CORE_REVISION = '120a21';

// The Luna Core code name
const LUNA_CODE_NAME = 'cornflowserblue';
Expand Down

0 comments on commit 7bcfee5

Please sign in to comment.