*/
use Friendica\App;
use Friendica\Core\Addon;
+use Friendica\Core\Logger;
use Friendica\Util\Network;
use Friendica\Util\ParseUrl;
}
}
- logger($url);
+ Logger::log($url);
// Check if the URL is an image, video or audio file. If so format
// the URL with the corresponding BBCode media tag
$result = sprintf($template, $url, ($title) ? $title : $url, $text) . $str_tags;
- logger('(unparsed): returns: ' . $result);
+ Logger::log('(unparsed): returns: ' . $result);
echo $result;
exit();