diff --git a/api/src/Sharing.php b/api/src/Sharing.php index 0b7bbd7a77..9a7e0636c5 100644 --- a/api/src/Sharing.php +++ b/api/src/Sharing.php @@ -105,7 +105,7 @@ class Sharing $path_info = substr($path_info, strlen($_SERVER['SCRIPT_NAME'])); list(, $token/*, $path*/) = preg_split('|[/?]|', $path_info, 3); - list($token, $pw_session) = explode(':', $token); + list($token) = explode(':', $token); return $token; }