diff --git a/classes/autostatussocialnetwork.php b/classes/autostatussocialnetwork.php index dfb4f45..7d999fd 100644 --- a/classes/autostatussocialnetwork.php +++ b/classes/autostatussocialnetwork.php @@ -193,13 +193,6 @@ public function substituteFormats( $message, eZContentObject $contentObject, eZW } } - // Last chance, if the URL still is not properly formed - // (can happen when run from a CLI script) - // @FIXME : This is clumsy, does not support SSLness, may be broken :) - if ( strpos( $nodeURL, 'http' ) === false ) - { - $nodeURL = 'http://' . trim( eZINI::instance()->variable( 'SiteSettings', 'SiteURL' ), '/' ) . $nodeURL; - } if ( $shortener instanceof autostatusShortener ) { $nodeURL = $shortener->shorten( $nodeURL );