aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/db/114-database.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/install/db/114-database.php b/install/db/114-database.php
index 495e6354f..86454adec 100644
--- a/install/db/114-database.php
+++ b/install/db/114-database.php
@@ -28,11 +28,7 @@ if (!defined('PHPWG_ROOT_PATH'))
$upgrade_description = 'new parameter: Activate comments';
-$query = '
-INSERT INTO piwigo_config (param,value,comment)
- VALUES (\'activate_comments\',\'true\',\'Global parameter for usage of comments system\')
-;';
-pwg_query($query);
+conf_update_param('activate_comments', 'true');
echo
"\n"