X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fnetwork.php;h=351951846c6f38ef1f006b662f4335c5514ccd54;hb=d49325d177cf03b97df250ca3cb081421c541049;hp=f20445d27e7493f73ea18ee2581efc2795bd48bd;hpb=a64db187313dea2b0b65fa7dfa1c53e52ec3a952;p=friendica.git diff --git a/include/network.php b/include/network.php index f20445d27e..351951846c 100644 --- a/include/network.php +++ b/include/network.php @@ -789,12 +789,12 @@ function short_link($url) { $yourls->set('password', $yourls_password); $yourls->set('ssl', $yourls_ssl); $yourls->set('yourls-url', $yourls_url); - $slinky->set_cascade( array($yourls, new Slinky_UR1ca(), new Slinky_Trim(), new Slinky_IsGd(), new Slinky_TinyURL())); + $slinky->set_cascade(array($yourls, new Slinky_Ur1ca(), new Slinky_TinyURL())); } else { // setup a cascade of shortening services // try to get a short link from these services - // in the order ur1.ca, trim, id.gd, tinyurl - $slinky->set_cascade(array(new Slinky_UR1ca(), new Slinky_Trim(), new Slinky_IsGd(), new Slinky_TinyURL())); + // in the order ur1.ca, tinyurl + $slinky->set_cascade(array(new Slinky_Ur1ca(), new Slinky_TinyURL())); } return $slinky->short(); }