}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT pfields_content.*, members.*, profile_portal.*
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT pfields_content.*, members.*
public function exportUsers($offset, $limit)
{
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT kunena_users.*, users.*,
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT userfields_table.*,
public function exportUsers($offset, $limit)
{
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
$userIDs = $this->database->zrange('users:joindate', $offset, $offset + $limit);
if (!$userIDs) {
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT fields_table.*, user_table.*, ban_table.ban_give_reason AS banReason,
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT fields_table.*, user_table.*, ban_table.ban_give_reason AS banReason,
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get userIDs
$userIDs = [];
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT userfield.*, user_table.*, textfield.*,
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT userfield.*, user_table.*, textfield.*,
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT userfields.*, user.*,
// cache existing user options
$existingUserOptions = [];
$sql = "SELECT optionName, optionID
- FROM wcf" . WCF_N . "_user_option
+ FROM wcf1_user_option
WHERE optionName NOT LIKE 'option%'";
- $statement = WCF::getDB()->prepareStatement($sql);
+ $statement = WCF::getDB()->prepare($sql);
$statement->execute();
while ($row = $statement->fetchArray()) {
$existingUserOptions[$row['optionName']] = true;
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get password encryption
$encryption = 'wcf1';
{
$optionsNames = [];
$sql = "SELECT optionName
- FROM wcf" . WCF_N . "_user_option
+ FROM wcf1_user_option
WHERE optionName NOT LIKE ?";
- $statement = WCF::getDB()->prepareStatement($sql);
+ $statement = WCF::getDB()->prepare($sql);
$statement->execute(['option%']);
while ($row = $statement->fetchArray()) {
$optionsNames[] = $row['optionName'];
// cache existing user options
$existingUserOptions = [];
$sql = "SELECT optionName, optionID
- FROM wcf" . WCF_N . "_user_option
+ FROM wcf1_user_option
WHERE optionName NOT LIKE 'option%'";
- $statement = WCF::getDB()->prepareStatement($sql);
+ $statement = WCF::getDB()->prepare($sql);
$statement->execute();
while ($row = $statement->fetchArray()) {
$existingUserOptions[$row['optionName']] = true;
}
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT user_option_value.*, user_table.*,
{
$optionsNames = [];
$sql = "SELECT optionName
- FROM wcf" . WCF_N . "_user_option
+ FROM wcf1_user_option
WHERE optionName NOT LIKE ?";
- $statement = WCF::getDB()->prepareStatement($sql);
+ $statement = WCF::getDB()->prepare($sql);
$statement->execute(['option%']);
while ($row = $statement->fetchArray()) {
$optionsNames[] = $row['optionName'];
public function exportUsers($offset, $limit)
{
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT *
public function exportUsers($offset, $limit)
{
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT user_table.*, user_profile_table.*, INET_NTOA(ip_table.ip) AS ip,
public function exportUsers($offset, $limit)
{
// prepare password update
- $sql = "UPDATE wcf" . WCF_N . "_user
+ $sql = "UPDATE wcf1_user
SET password = ?
WHERE userID = ?";
- $passwordUpdateStatement = WCF::getDB()->prepareStatement($sql);
+ $passwordUpdateStatement = WCF::getDB()->prepare($sql);
// get users
$sql = "SELECT user_table.*, user_profile_table.*, INET_NTOA(ip_table.ip) AS ip,