]> git.mxchange.org Git - friendica-addons.git/blobdiff - impressum/impressum.php
Merge pull request #144 from annando/master
[friendica-addons.git] / impressum / impressum.php
index 8bcc8b7dd1027e52dc937dac2afe0aa137cefe45..6714dfc1391113b46aeb7e26ca11e2a09fd5f1f6 100755 (executable)
@@ -2,7 +2,7 @@
 /**
  * Name: Impressum
  * Description: Plugin to add contact information to the about page (/friendica)
- * Version: 1.2
+ * Version: 1.3
  * Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
  * License: 3-clause BSD license
  */
@@ -20,6 +20,14 @@ function impressum_uninstall() {
     unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
     logger("uninstalled impressum plugin");
 }
+
+function impressum_module() {
+}
+function impressum_content() {
+    $a = get_app();
+    goaway($a->get_baseurl().'/friendica/');
+}
+
 function obfuscate_email ($s) {
     $s = str_replace('@','(at)',$s);
     $s = str_replace('.','(dot)',$s);