]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
FacebookBridge use Plugin::path()
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 17:22:39 +0000 (12:22 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 17:22:39 +0000 (12:22 -0500)
plugins/FacebookBridge/actions/facebooklogin.php

index f8a45c41b2969ebdb0c1803bf6f00026198a045c..924dd46565cdb53a44afe371ba50346a7391f726 100644 (file)
@@ -89,10 +89,7 @@ class FacebookloginAction extends Action
         );
 
         $attrs = array(
-            'src' => common_path(
-                'plugins/FacebookBridge/images/login-button.png',
-                true
-            ),
+            'src' => Plugin::staticPath('FacebookBridge', 'images/login-button.png'),
             'alt'   => 'Login with Facebook',
             'title' => 'Login with Facebook'
         );