Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-11 12:40:12 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-11-11 12:40:12 +0300
commit14cfbf01c58c1059295f5b9e683f2cc3459aab18 (patch)
treec4a412c4869047b60e05f4ff5b7ea273e24d3deb /functions.php
parent7628e8cb6b5733f7ef6376242f096f7c6b4d4fce (diff)
Remove unrequired arguments
Cleans up logs a tad more
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
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') {