Remove registerUrlShortener() (no longer used)

This commit is contained in:
Craig Andrews 2009-11-11 16:51:10 -05:00
parent 41944f36e4
commit 1c4bacf7bc

View File

@ -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);
}
}