From 1cd3b4182595b838a535dd6b6990251db05d49e6 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 30 Mar 2016 22:13:24 -0700 Subject: deprecate $a->get_baseurl() --- mod/removeme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/removeme.php') diff --git a/mod/removeme.php b/mod/removeme.php index b604bc7db..452ee5ef5 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -52,7 +52,7 @@ function removeme_content(&$a) { $tpl = get_markup_template('removeme.tpl'); $o .= replace_macros($tpl, array( - '$basedir' => $a->get_baseurl(), + '$basedir' => z_root(), '$hash' => $hash, '$title' => t('Remove This Channel'), '$desc' => array(t('WARNING: '), t('This channel will be completely removed from the network. '), t('This action is permanent and can not be undone!')), -- cgit v1.2.3 From 9abd95fad3784a10fc48bc40f9b8a75d7d74edda Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 31 Mar 2016 16:06:03 -0700 Subject: static App --- mod/removeme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/removeme.php') diff --git a/mod/removeme.php b/mod/removeme.php index 452ee5ef5..ab1d5fe4f 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -18,7 +18,7 @@ function removeme_post(&$a) { return; - $account = $a->get_account(); + $account = App::get_account(); if(! account_verify_password($account['account_email'],$_POST['qxz_password'])) return; -- cgit v1.2.3