From: Craig Andrews Date: Thu, 6 Aug 2009 00:16:34 +0000 (-0400) Subject: Use cssLink() to link to external css X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ca70874b0a4880842f5770155170f3bded4bfadc;p=quix0rs-gnu-social.git Use cssLink() to link to external css --- diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php index 9aa96c59d7..19b778c667 100644 --- a/plugins/FBConnect/FBConnectPlugin.php +++ b/plugins/FBConnect/FBConnectPlugin.php @@ -152,10 +152,7 @@ class FBConnectPlugin extends Plugin { if ($this->reqFbScripts($action)) { - - $action->element('link', array('rel' => 'stylesheet', - 'type' => 'text/css', - 'href' => common_path('plugins/FBConnect/FBConnectPlugin.css'))); + $action->cssLink('plugins/FBConnect/FBConnectPlugin.css'); } }