aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/section_init.inc.php')
-rw-r--r--include/section_init.inc.php13
1 files changed, 0 insertions, 13 deletions
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) )