From 6dcb293ba0e4fd4f38e2e3f4eb5b75df5f8d771f Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 23 Jun 2016 23:03:58 +0200 Subject: [PATCH] Unnecessarily verbose code --- plugins/LRDD/lib/discovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5