Permalink
Browse files

Remove workaround that's no longer needed

  • Loading branch information...
flack committed Oct 6, 2017
1 parent e30c259 commit 02203368e4929c6d9a285327a6b5bc9b1c60dc4e
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/midcom/connection.php
@@ -260,8 +260,6 @@ static function get_url($key)
{
static $parsed = false;
if (!$parsed) {
// This has the side effect to ensure that $_data is properly initialized
self::_get($key);
$url_components = parse_url("http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}");
if (OPENPSA2_PREFIX !== '/') {
$url_components['path'] = preg_replace('|^' . OPENPSA2_PREFIX . '|', '/', $url_components['path']);

0 comments on commit 0220336

Please sign in to comment.