]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Use cssLink() to link to external css
authorCraig Andrews <candrews@integralblue.com>
Thu, 6 Aug 2009 00:16:34 +0000 (20:16 -0400)
committerCraig Andrews <candrews@integralblue.com>
Thu, 6 Aug 2009 00:16:34 +0000 (20:16 -0400)
plugins/FBConnect/FBConnectPlugin.php

index 9aa96c59d716ba03af0ba2bccacc3419355095b0..19b778c6677ac30904b11e50c10ba14eeb0bc5e3 100644 (file)
@@ -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');
         }
     }