]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
NewMenu uses Plugin::path()
authorEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:41:47 +0000 (11:41 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 3 Feb 2011 16:41:47 +0000 (11:41 -0500)
plugins/NewMenu/NewMenuPlugin.php

index 7aad0672bf995ad441c4a925a60440fc91162c48..2454f867d6bb4e37e014d314e5a57073a8313622 100644 (file)
@@ -331,7 +331,7 @@ class NewMenuPlugin extends Plugin
                       array('default', 'identica', 'h4ck3r'))) &&
             ($action instanceof AccountSettingsAction ||
              $action instanceof ConnectSettingsAction)) {
-            $action->cssLink(common_path('plugins/NewMenu/newmenu.css'));
+            $action->cssLink($this->path('newmenu.css'));
         }
         return true;
     }