From fdffe42bdc703a9f2391c77ae0256c33a3eac935 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 11 Sep 2008 01:20:25 +0000 Subject: remove ws access table/partners functionality git-svn-id: http://piwigo.org/svn/trunk@2516 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin.php | 4 - admin/include/functions_upgrade.php | 5 +- admin/template/yoga/admin.tpl | 3 - admin/template/yoga/admin/ws_checker.tpl | 215 -------------- admin/template/yoga/theme/admin/themeconf.inc.php | 1 - admin/ws_checker.php | 334 ---------------------- include/config_default.inc.php | 18 -- include/constants.php | 2 - include/ws_functions.inc.php | 156 +--------- install/db/75-database.php | 46 +++ install/upgrade_1.6.2.php | 3 +- language/en_UK/admin.lang.php | 30 -- language/es_ES/admin.lang.php | 35 --- language/fr_FR/admin.lang.php | 30 -- language/it_IT/admin.lang.php | 30 -- language/nl_NL/admin.lang.php | 35 --- ws.php | 7 +- 17 files changed, 53 insertions(+), 901 deletions(-) delete mode 100644 admin/template/yoga/admin/ws_checker.tpl delete mode 100644 admin/ws_checker.php create mode 100644 install/db/75-database.php diff --git a/admin.php b/admin.php index eb6d07931..619cd62ea 100644 --- a/admin.php +++ b/admin.php @@ -96,10 +96,6 @@ $template->assign( 'U_ADMIN'=> PHPWG_ROOT_PATH.'admin.php' ) ); -if ($conf['ws_access_control']) // Do we need to display ws_checker -{ - $template->assign('U_WS_CHECKER', $link_start.'ws_checker' ); -} //---------------------------------------------------------------- plugin menus $plugin_menu_links = trigger_event('get_admin_plugin_menu_links', array() ); diff --git a/admin/include/functions_upgrade.php b/admin/include/functions_upgrade.php index 7e9a93aef..06bba375a 100644 --- a/admin/include/functions_upgrade.php +++ b/admin/include/functions_upgrade.php @@ -71,14 +71,13 @@ function prepare_conf_upgrade() define('TAGS_TABLE', $prefixeTable.'tags'); define('IMAGE_TAG_TABLE', $prefixeTable.'image_tag'); define('PLUGINS_TABLE', $prefixeTable.'plugins'); - define('WEB_SERVICES_ACCESS_TABLE', $prefixeTable.'ws_access'); define('OLD_PERMALINKS_TABLE', $prefixeTable.'old_permalinks'); } // Create empty local files to avoid log errors -function create_empty_local_files() +function create_empty_local_files() { - $files = + $files = array ( PHPWG_ROOT_PATH . 'template-common/local-layout.css', PHPWG_ROOT_PATH . 'template/yoga/local-layout.css' diff --git a/admin/template/yoga/admin.tpl b/admin/template/yoga/admin.tpl index 7aae91c39..7aba18541 100644 --- a/admin/template/yoga/admin.tpl +++ b/admin/template/yoga/admin.tpl @@ -84,9 +84,6 @@ jQuery().ready(function(){ldelim}
  • {'History'|@translate}
  • {'Maintenance'|@translate}
  • {'Advanced_features'|@translate}
  • - {if isset($U_WS_CHECKER) } -
  • {'web_services'|@translate}
  • - {/if}
  • {'Plugins'|@translate}