X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FStrictTransportSecurity%2FStrictTransportSecurityPlugin.php;h=bb60323ffc35f770e800640aea7b324a7d43ee67;hb=dfe0a317ca36ae6da672b4230d888370eb0989af;hp=004a627929b5eccf9fdb66ee89acd0aa2f821440;hpb=1513b8eeb921538e4e342c2c6d64b2c0d1aed2dd;p=quix0rs-gnu-social.git diff --git a/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php b/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php index 004a627929..bb60323ffc 100644 --- a/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php +++ b/plugins/StrictTransportSecurity/StrictTransportSecurityPlugin.php @@ -2,7 +2,7 @@ /** * StatusNet, the distributed open-source microblogging tool * - * Plugin to enable Single Sign On via CAS (Central Authentication Service) + * Plugin to enable Strict Transport Security headers * * PHP version 5 * @@ -49,13 +49,14 @@ class StrictTransportSecurityPlugin extends Plugin } } - function onPluginVersion(&$versions) + function onPluginVersion(array &$versions) { $versions[] = array('name' => 'StrictTransportSecurity', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:StrictTransportSecurity', 'rawdescription' => + // TRANS: Plugin description. _m('The Strict Transport Security plugin implements the Strict Transport Security header, improving the security of HTTPS only sites.')); return true; }