diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-11 12:40:12 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-11 12:40:12 +0300 |
commit | 14cfbf01c58c1059295f5b9e683f2cc3459aab18 (patch) | |
tree | c4a412c4869047b60e05f4ff5b7ea273e24d3deb /functions.php | |
parent | 7628e8cb6b5733f7ef6376242f096f7c6b4d4fce (diff) |
Remove unrequired arguments
Cleans up logs a tad more
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index d8f91503..d9f46541 100644 --- a/functions.php +++ b/functions.php @@ -17,7 +17,7 @@ require_once locate_template('/lib/relative-urls.php'); // Root relative URLs require_once locate_template('/lib/widgets.php'); // Sidebars and widgets require_once locate_template('/lib/custom.php'); // Custom functions -function translationUrlFilter($url, $path, $orig_scheme, $blog_id) { +function translationUrlFilter($url) { $path = parse_url(site_url())['path']; $language = explode('/', substr($_SERVER['REQUEST_URI'], strlen($path))); if(isset($language[1]) && $language[1] === 'de') { |