[CORE] Plugin API now extends a new Module API
This commit is contained in:
@@ -1354,7 +1354,7 @@ class OStatusPlugin extends Plugin
|
||||
return true;
|
||||
}
|
||||
|
||||
function onPluginVersion(array &$versions)
|
||||
public function onPluginVersion(array &$versions): bool
|
||||
{
|
||||
$versions[] = array('name' => 'OStatus',
|
||||
'version' => self::PLUGIN_VERSION,
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2010, StatusNet, Inc.
|
||||
*
|
||||
* A sample module to show best practices for StatusNet plugins
|
||||
* A sample plugin to show best practices for StatusNet plugins
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
@@ -139,7 +139,7 @@ class Magicsig extends Managed_DataObject
|
||||
/**
|
||||
* Generate a new keypair for a local user and store in the database.
|
||||
*
|
||||
* Warning: this can be very slow on systems without the GMP module.
|
||||
* Warning: this can be very slow on systems without the GMP plugin.
|
||||
* Runtimes of 20-30 seconds are not unheard-of.
|
||||
*
|
||||
* FIXME: More than 1024 bits please. But StatusNet _discards_ non-1024 bits,
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2010, StatusNet, Inc.
|
||||
*
|
||||
* A sample module to show best practices for StatusNet plugins
|
||||
* A sample plugin to show best practices for StatusNet plugins
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2010, StatusNet, Inc.
|
||||
*
|
||||
* A sample module to show best practices for StatusNet plugins
|
||||
* A sample plugin to show best practices for StatusNet plugins
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
|
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-08-14 14:44+0100\n"
|
||||
"POT-Creation-Date: 2019-08-14 14:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
Reference in New Issue
Block a user