aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-01-16 21:44:29 +0000
committermistic100 <mistic@piwigo.org>2012-01-16 21:44:29 +0000
commita7f39070f4dd3f568117f5ebc0c41c468abeae88 (patch)
tree99f33e1e123bc226a7fcaf151c51be71d129b9a7 /install
parentd29fb6a1844191097fa6a23642a8379767724236 (diff)
feature:2549 update query not working well (sic)
git-svn-id: http://piwigo.org/svn/trunk@12905 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install')
-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"