form cleanup (profile_photo and cover_photo), admin 'user_approve' not found, missing close div in mood_content.tpl

This commit is contained in:
redmatrix
2016-02-14 16:15:55 -08:00
parent dd2d12350c
commit 4f285911f0
7 changed files with 141 additions and 117 deletions

View File

@@ -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);
}
}