X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FClientSideShorten%2FClientSideShortenPlugin.php;h=9dd3b1f5152157f2b94a2b8acdf2c103edbb94f6;hb=6ddd5e1e895af0091a22fe11781cd06783357e89;hp=94629a07b06bc6048c9e72e8da00339eb554950f;hpb=ce47780fcd1b8354d8cb8727678b1c59a0a3c517;p=quix0rs-gnu-social.git diff --git a/plugins/ClientSideShorten/ClientSideShortenPlugin.php b/plugins/ClientSideShorten/ClientSideShortenPlugin.php index 94629a07b0..9dd3b1f515 100644 --- a/plugins/ClientSideShorten/ClientSideShortenPlugin.php +++ b/plugins/ClientSideShorten/ClientSideShortenPlugin.php @@ -38,7 +38,7 @@ class ClientSideShortenPlugin extends Plugin parent::__construct(); } - function onEndShowScripts($action){ + function onEndShowScripts(Action $action){ if (common_logged_in()) { $user = common_current_user(); $action->inlineScript('var maxNoticeLength = ' . User_urlshortener_prefs::maxNoticeLength($user));