From 015e74e7ef789fa3a9bda73aa807032d32f140f4 Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Sun, 3 Apr 2016 01:11:59 +0200
Subject: [PATCH] utils::print do not use get_url anymore (to much overload)

---
 PlayBot/utils/print.pm | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/PlayBot/utils/print.pm b/PlayBot/utils/print.pm
index 907ca76..57abd1a 100644
--- a/PlayBot/utils/print.pm
+++ b/PlayBot/utils/print.pm
@@ -24,14 +24,6 @@ sub print
 {
     my ($content) = @_;
 
-    if (defined($content->{external_id}) and defined($content->{site}))
-    {
-        my $site = 'PlayBot::sites::'.$content->{site};
-        eval "require $site";
-        eval { $content->{url} = $site->get_url($content->{external_id}) };
-        # TOOD: log if $@
-    }
-
     my $msg = YELLOW.'['.$content->{'id'}.'] '.GREEN.$content->{'title'};
 
 	if (defined $content->{'author'})
-- 
GitLab