From: Mikael Nordfeldth Date: Thu, 23 Jun 2016 21:03:58 +0000 (+0200) Subject: Unnecessarily verbose code X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6dcb293ba0e4fd4f38e2e3f4eb5b75df5f8d771f;p=quix0rs-gnu-social.git Unnecessarily verbose code --- 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