diff --git a/plugins/LRDD/lib/discovery.php b/plugins/LRDD/lib/discovery.php index 4049113408..6818e12557 100644 --- a/plugins/LRDD/lib/discovery.php +++ b/plugins/LRDD/lib/discovery.php @@ -99,7 +99,7 @@ class Discovery common_debug("LRDD discovery method for '$uri': {$class}"); $lrdd = new $class; - $links = call_user_func(array($lrdd, 'discover'), $uri); + $links = $lrdd->discover($uri); $link = Discovery::getService($links, Discovery::LRDD_REL); // Load the LRDD XRD