diff --git a/link/Mod_Link.php b/link/Mod_Link.php
index 4bbf708..55cfb47 100644
--- a/link/Mod_Link.php
+++ b/link/Mod_Link.php
@@ -66,7 +66,7 @@ class Link extends \Zotlabs\Web\Controller {
);
$o = '
';
}
diff --git a/link/README.md b/link/README.md
index 4477569..ffa50bf 100644
--- a/link/README.md
+++ b/link/README.md
@@ -12,3 +12,5 @@ where an item is the numeric value of an object from the database.
It is possible to use /admin/addons/link settings page for enabling or disabling of showing "Link on Hub" in the dropdown menu.
Based on Zotlabs/Module/Display.php
+
+Adapted for Hubzilla 8.8
\ No newline at end of file
diff --git a/link/link.php b/link/link.php
index 957b4fd..2c6212d 100644
--- a/link/link.php
+++ b/link/link.php
@@ -2,7 +2,7 @@
/**
* Name: Link
* Description: Using short links on whole hub
- * Version: 0.86
+ * Version: 0.87
* Author: ivan zlax <@zlax@ussr.win>
* Maintainer: ivan zlax <@zlax@ussr.win>
*/
@@ -50,17 +50,17 @@ function link_plugin_admin_post() {
info( t('Settings updated.') . EOL );
}
-function dropdown_link($a, &$extras) {
+function dropdown_link(&$extras) {
$arr = $extras;
$item_id = $extras['item']['item_id'];
$arr['dropdown_extras'] .= ''.t('Link on Hub').'';
$extras = $arr;
}
-function hideasides_header($a, &$b) {
+function hideasides_header(&$b) {
$querystr = stristr(App::$query_string, '/', true);
if ($querystr == "link") {
- $addScriptTag = "\r\n";
+ $addScriptTag = "\r\n";
App::$page['htmlhead'] .= $addScriptTag;
}
}