Vergleich admin/modules/user/awaiting_activation.php - 1.8.9 - 1.8.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 69Zeile 69
	}
else // Activate selected user(s)
{

	}
else // Activate selected user(s)
{

		$query = $db->simple_select("users", "uid, usergroup, coppauser", "uid IN ({$user_ids})");

		$query = $db->simple_select("users", "uid, username, email, usergroup, coppauser", "uid IN ({$user_ids})");

		while($user = $db->fetch_array($query))
{
++$num_activated;

		while($user = $db->fetch_array($query))
{
++$num_activated;

Zeile 91Zeile 91
			}

$db->update_query("users", $updated_user, "uid='{$user['uid']}'");

			}

$db->update_query("users", $updated_user, "uid='{$user['uid']}'");

 

$message = $lang->sprintf($lang->email_adminactivateaccount, $user['username'], $mybb->settings['bbname'], $mybb->settings['bburl']); my_mail($user['email'], $lang->sprintf($lang->emailsubject_activateaccount, $mybb->settings['bbname']), $message);

		}

$cache->update_awaitingactivation();

		}

$cache->update_awaitingactivation();