aboutsummaryrefslogtreecommitdiffstats
path: root/mod/admin.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-14 16:15:55 -0800
committerredmatrix <git@macgirvin.com>2016-02-14 16:15:55 -0800
commit4f285911f05fa07b14d16960180b2a4985824fa2 (patch)
treede24b10677c8689d407eea9850534cc47c30ee16 /mod/admin.php
parentdd2d12350ccf0f21276c0d0534babab4848642f8 (diff)
downloadvolse-hubzilla-4f285911f05fa07b14d16960180b2a4985824fa2.tar.gz
volse-hubzilla-4f285911f05fa07b14d16960180b2a4985824fa2.tar.bz2
volse-hubzilla-4f285911f05fa07b14d16960180b2a4985824fa2.zip
form cleanup (profile_photo and cover_photo), admin 'user_approve' not found, missing close div in mood_content.tpl
Diffstat (limited to 'mod/admin.php')
-rw-r--r--mod/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/admin.php b/mod/admin.php
index 09bfef84a..5195db320 100644
--- a/mod/admin.php
+++ b/mod/admin.php
@@ -7,7 +7,7 @@
*/
require_once('include/queue_fn.php');
-
+require_once('include/account.php');
/**
* @param App &$a
@@ -861,13 +861,13 @@ function admin_page_users_post($a) {
// registration approved button was submitted
if (x($_POST, 'page_users_approve')) {
foreach ($pending as $hash) {
- user_allow($hash);
+ account_allow($hash);
}
}
// registration deny button was submitted
if (x($_POST, 'page_users_deny')) {
foreach ($pending as $hash) {
- user_deny($hash);
+ account_deny($hash);
}
}