aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-12-27 18:41:44 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-12-27 18:41:44 +0100
commitce2c5213d7aad2c24ee83147b167236ce754c671 (patch)
treefad02ff00f1071b7109b30fc45f8fed8867df746
parent68ce16f9b33c5aea8f7f6530dd06eb4661333b0b (diff)
downloadforums-ce2c5213d7aad2c24ee83147b167236ce754c671.tar
forums-ce2c5213d7aad2c24ee83147b167236ce754c671.tar.gz
forums-ce2c5213d7aad2c24ee83147b167236ce754c671.tar.bz2
forums-ce2c5213d7aad2c24ee83147b167236ce754c671.tar.xz
forums-ce2c5213d7aad2c24ee83147b167236ce754c671.zip
[ticket/11997] Remove obsolete function get_controller_redirect_url()
PHPBB3-11997
-rw-r--r--phpBB/phpbb/path_helper.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/phpBB/phpbb/path_helper.php b/phpBB/phpbb/path_helper.php
index cd4c20bb7d..a8e12c4063 100644
--- a/phpBB/phpbb/path_helper.php
+++ b/phpBB/phpbb/path_helper.php
@@ -185,30 +185,6 @@ class path_helper
}
/**
- * Get the redirect URL for controllers
- *
- * @param string $url URL to the controller
- *
- * @param string Redirect URL for controller
- */
- public function get_controller_redirect_url($url)
- {
- // Remove predecing dots
- $url = ltrim($this->remove_web_root_path($url), '.');
-
- // Get position of URL delimiter
- $delimiter_position = strpos($url, '/');
-
- // Add URL delimiter in front of path if it doesn't exist
- if ($delimiter_position === false || $delimiter_position > 1)
- {
- $url = '/' . $url;
- }
-
- return generate_board_url() . $url;
- }
-
- /**
* Eliminates useless . and .. components from specified URL
*
* @param string $url URL to clean