Remove registerUrlShortener() (no longer used)
This commit is contained in:
parent
41944f36e4
commit
1c4bacf7bc
@ -76,18 +76,4 @@ class Plugin
|
|||||||
{
|
{
|
||||||
return true;
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user