From: Craig Andrews Date: Wed, 11 Nov 2009 21:51:10 +0000 (-0500) Subject: Remove registerUrlShortener() (no longer used) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1c4bacf7bcaad9b078ff1e7675371932bb76d0b3;p=quix0rs-gnu-social.git Remove registerUrlShortener() (no longer used) --- diff --git a/lib/plugin.php b/lib/plugin.php index 59bf3ba9d6..87d7be5a75 100644 --- a/lib/plugin.php +++ b/lib/plugin.php @@ -76,18 +76,4 @@ class Plugin { return true; } - - /* - * the name of the shortener - * shortenerInfo associative array with additional information. One possible element is 'freeService' which can be true or false - * shortener array, first element is the name of the class, second element is an array to be passed as constructor parameters to the class - */ - function registerUrlShortener($name, $shortenerInfo, $shortener) - { - global $_shorteners; - if(!is_array($_shorteners)){ - $_shorteners=array(); - } - $_shorteners[$name]=array('info'=>$shortenerInfo, 'callInfo'=>$shortener); - } }