aboutsummaryrefslogtreecommitdiffstats
path: root/unshorturl
diff options
context:
space:
mode:
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) {