From a7f39070f4dd3f568117f5ebc0c41c468abeae88 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 16 Jan 2012 21:44:29 +0000 Subject: feature:2549 update query not working well (sic) git-svn-id: http://piwigo.org/svn/trunk@12905 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/db/114-database.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'install/db/114-database.php') 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" -- cgit v1.2.3