aboutsummaryrefslogtreecommitdiffstats
path: root/unshorturl
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-07-10 15:53:05 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-07-10 15:53:05 +0200
commit8dfad02d8e048576cee6fe15747b5b381f02f05b (patch)
tree6137de327c5dac2a380d6c0741161b6c5d482b89 /unshorturl
parentf0602ec2f4c2234f1763aee2bd3e9062a65eaae4 (diff)
downloadvolse-hz-addons-8dfad02d8e048576cee6fe15747b5b381f02f05b.tar.gz
volse-hz-addons-8dfad02d8e048576cee6fe15747b5b381f02f05b.tar.bz2
volse-hz-addons-8dfad02d8e048576cee6fe15747b5b381f02f05b.zip
unshorturl: More silly typos...
Diffstat (limited to 'unshorturl')
-rw-r--r--unshorturl/unshorturl.apd2
-rw-r--r--unshorturl/unshorturl.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/unshorturl/unshorturl.apd b/unshorturl/unshorturl.apd
index 7532483..1782f3a 100644
--- a/unshorturl/unshorturl.apd
+++ b/unshorturl/unshorturl.apd
@@ -1,5 +1,5 @@
version: 0.1.0
-url: $baseurl/nswf
+url: $baseurl/unshorturl
requires: local_channel
name: UnshortURL
photo: icon:filter
diff --git a/unshorturl/unshorturl.php b/unshorturl/unshorturl.php
index 8b4e3be..af7e902 100644
--- a/unshorturl/unshorturl.php
+++ b/unshorturl/unshorturl.php
@@ -15,11 +15,11 @@ use Zotlabs\Lib\Apps;
use Zotlabs\Extend\Hook;
function unshorturl_install() {
- Hook::register('perpare_body', 'addon/unshorturl/unshorturl.php', 'unshorturl_prepare_body', 1);
+ Hook::register('prepare_body', 'addon/unshorturl/unshorturl.php', 'unshorturl_prepare_body', 1);
}
function unshorturl_uninstall() {
- Hook::deregister('prepare_body', 'addon/unshorturl/unshorturl.php', 'unshorturl_prepare_body');
+ Hook::unregister('prepare_body', 'addon/unshorturl/unshorturl.php', 'unshorturl_prepare_body');
}
function unshorturl_prepare_body(&$body) {