]> git.mxchange.org Git - friendica.git/blobdiff - mod/removeme.php
Bump DB version
[friendica.git] / mod / removeme.php
index b7043f37bb001f298f4716f1c79e6cda1e250c19..40033624d8889ac330a8be2c7f725febef8e2cfc 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-function removeme_post(&$a) {
+function removeme_post(App $a) {
 
        if (! local_user()) {
                return;
@@ -32,7 +32,7 @@ function removeme_post(&$a) {
 
 }
 
-function removeme_content(&$a) {
+function removeme_content(App $a) {
 
        if (! local_user()) {
                goaway(z_root());
@@ -47,7 +47,7 @@ function removeme_content(&$a) {
 
        $tpl = get_markup_template('removeme.tpl');
        $o .= replace_macros($tpl, array(
-               '$basedir' => $a->get_baseurl(),
+               '$basedir' => App::get_baseurl(),
                '$hash' => $hash,
                '$title' => t('Remove My Account'),
                '$desc' => t('This will completely remove your account. Once this has been done it is not recoverable.'),