aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-28 19:00:09 +0000
committervdigital <vdigital@piwigo.org>2007-01-28 19:00:09 +0000
commit7709c4189cadfcfc56c97fd5cd47df06033b6429 (patch)
tree4174cf9319ee338486e89a0f4f4101971bc4ecf4
parentb22da12d04451e913b69dd3a02be411c2d86cc2d (diff)
Web Service: Remove ws_status from #config (remove missing in config.sql)
(Next steps: - Restrict Method need to be more generic maybe - Delete functions_webserv.inc.php - Activate $partner in ws.php - Include checked access in tools - ...) Issue 0000614: Display hits under thumbnails like comments counter - Add show_nb_hits to #user_infos (add in phpwebgallery_structure.sql) git-svn-id: http://piwigo.org/svn/trunk@1762 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install/config.sql1
-rw-r--r--install/phpwebgallery_structure.sql1
2 files changed, 1 insertions, 1 deletions
diff --git a/install/config.sql b/install/config.sql
index 3933fd658..399b3fe8e 100644
--- a/install/config.sql
+++ b/install/config.sql
@@ -30,4 +30,3 @@ INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nbm_complementar
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_new_user','false','Send an email to the admin when a user registers');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment','false','Send an email to the admin when a valid comment is entered');
INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment_validation','false','Send an email to the admin when a comment requires validation');
-INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('ws_status','true','Web Service is active/inactive');
diff --git a/install/phpwebgallery_structure.sql b/install/phpwebgallery_structure.sql
index 29ff65f8f..9e9ecb76a 100644
--- a/install/phpwebgallery_structure.sql
+++ b/install/phpwebgallery_structure.sql
@@ -365,6 +365,7 @@ CREATE TABLE `phpwebgallery_user_infos` (
`maxheight` smallint(6) default NULL,
`expand` enum('true','false') NOT NULL default 'false',
`show_nb_comments` enum('true','false') NOT NULL default 'false',
+ `show_nb_hits` enum('true','false') NOT NULL default 'false',
`recent_period` tinyint(3) unsigned NOT NULL default '7',
`template` varchar(255) NOT NULL default 'yoga/clear',
`registration_date` datetime NOT NULL default '0000-00-00 00:00:00',