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

index 8b94f83c8f09b00175802733486396195fa99b9f..0cd248e213bc0319de70e1429d172f16819960c1 100644 (file)
@@ -33,7 +33,7 @@ class ShareNoticePlugin extends Plugin
     );
 
     function onEndShowStatusNetStyles($action) {
-        $action->cssLink('plugins/ShareNotice/css/sharenotice.css');
+        $action->cssLink($this->path('css/sharenotice.css'));
         return true;
     }