summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-05 20:16:34 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-05 20:16:34 -0400
commitca70874b0a4880842f5770155170f3bded4bfadc (patch)
tree2be65723e8f388b28c911a0acd412a21c52d7313
parent5ba33836654e7e09098880fe9e6e9d3593f23b40 (diff)
Use cssLink() to link to external css
-rw-r--r--plugins/FBConnect/FBConnectPlugin.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php
index 9aa96c59d..19b778c66 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');
}
}