aboutsummaryrefslogtreecommitdiffstats
path: root/admin/site_update.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-03-06 20:27:41 +0000
committerrvelices <rv-github@modusoptimus.com>2012-03-06 20:27:41 +0000
commit8495df013d3e513345dc921a7f7904503a8a4ac5 (patch)
treee5c6af743a7daabba7cb641093c45f9c30f81f60 /admin/site_update.php
parent6118d0b1f7bb0588c3d004897fced268afd2e97a (diff)
remove remote sites feature
git-svn-id: http://piwigo.org/svn/trunk@13488 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/site_update.php20
1 files changed, 0 insertions, 20 deletions
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
{