From 7709c4189cadfcfc56c97fd5cd47df06033b6429 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sun, 28 Jan 2007 19:00:09 +0000 Subject: 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 --- install/config.sql | 1 - install/phpwebgallery_structure.sql | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'install') 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', -- cgit v1.2.3