]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Unnecessarily verbose code
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 23 Jun 2016 21:03:58 +0000 (23:03 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 23 Jun 2016 21:03:58 +0000 (23:03 +0200)
plugins/LRDD/lib/discovery.php

index 4049113408c2f2b7c139a35b129948dadd5b9f7f..6818e125573c3c741af891a273b984bcbad0f4c1 100644 (file)
@@ -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