From 38ccebec61df4fd18ffc933c15e0779a7f7633c6 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 30 Apr 2014 18:52:28 +0000 Subject: removed url compatibility with phpwebgallery 1.6 and below git-svn-id: http://piwigo.org/svn/trunk@28320 68402e56-0260-453c-a942-63ccdbb3a9ee --- category.php | 65 -------------------------------------------- include/section_init.inc.php | 13 --------- 2 files changed, 78 deletions(-) delete mode 100644 category.php diff --git a/category.php b/category.php deleted file mode 100644 index 131098086..000000000 --- a/category.php +++ /dev/null @@ -1,65 +0,0 @@ - diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 1e35ab587..cbc699d45 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -90,19 +90,6 @@ $next_token = 0; // the first token must be the identifier for the picture if (script_basename() == 'picture') { - // url compatibility with versions below 1.6 - if ( isset($_GET['image_id']) - and isset($_GET['cat']) - and is_numeric($_GET['cat']) ) - { - $url = make_picture_url( array( - 'section' => 'categories', - 'category' => get_cat_info($_GET['cat']), - 'image_id' => $_GET['image_id'] - ) ); - redirect($url); - } - $token = $tokens[$next_token]; $next_token++; if ( is_numeric($token) ) -- cgit v1.2.3