From 8495df013d3e513345dc921a7f7904503a8a4ac5 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 6 Mar 2012 20:27:41 +0000 Subject: remove remote sites feature git-svn-id: http://piwigo.org/svn/trunk@13488 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/site_update.php | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'admin/site_update.php') diff --git a/admin/site_update.php b/admin/site_update.php index 2021ac984..2861dc81f 100644 --- a/admin/site_update.php +++ b/admin/site_update.php @@ -58,22 +58,10 @@ $error_labels = array( l10n('wrong filename'), l10n('The name of directories and files must be composed of letters, numbers, "-", "_" or "."') ), - 'PWG-UPDATE-2' => array( - l10n('missing thumbnail'), - l10n('a picture filetype requires a thumbnail. The thumbnail must be present in the sub-directory "thumbnail" of the album directory. The thumbnail filename must start with the configured thumbnail prefix and the extension must be among the following list :').implode(',', $conf['picture_ext']) - ), 'PWG-ERROR-NO-FS' => array( l10n('File/directory read error'), l10n('The file or directory cannot be accessed (either it does not exist or the access is denied)') ), - 'PWG-ERROR-VERSION' => array( - l10n('Piwigo version differs on the remote site'), - l10n('Version of create_listing_file.php on the remote site and Piwigo must be the same') - ), - 'PWG-ERROR-NOLISTING' => array( - l10n('listing.xml file was not found'), - l10n('listing.xml file was not found on the remote site. This file is generated by choosing the "generate listing" command in the Site manager') - ) ); $errors = array(); $infos = array(); @@ -81,14 +69,6 @@ $infos = array(); if ($site_is_remote) { fatal_error('remote sites not supported'); - include_once(PHPWG_ROOT_PATH.'admin/site_reader_remote.php'); - $local_listing = null; - if ( isset($_GET['local_listing']) - and $_GET['local_listing'] ) - { - $local_listing = PHPWG_ROOT_PATH.'listing.xml'; - } - $site_reader = new RemoteSiteReader($site_url, $local_listing); } else { -- cgit v1.2.3