if (!($objectList instanceof UserList)) return;
if (isset($conditionData['registrationDateEnd'])) {
- $userList->getConditionBuilder()->add('user_table.registrationDate < ?', array(strtotime($conditionData['registrationDateEnd']) + 86400));
+ $objectList->getConditionBuilder()->add('user_table.registrationDate < ?', array(strtotime($conditionData['registrationDateEnd']) + 86400));
}
if (isset($conditionData['registrationDateStart'])) {
- $userList->getConditionBuilder()->add('user_table.registrationDate >= ?', array(strtotime($conditionData['registrationDateStart'])));
+ $objectList->getConditionBuilder()->add('user_table.registrationDate >= ?', array(strtotime($conditionData['registrationDateStart'])));
}
}
if (!($objectList instanceof UserList)) return;
if ($conditionData['greaterThan'] !== null) {
- $userList->getConditionBuilder()->add('user_table.registrationDate < ?', array(TIME_NOW - $conditionData['greaterThan'] * 86400));
+ $objectList->getConditionBuilder()->add('user_table.registrationDate < ?', array(TIME_NOW - $conditionData['greaterThan'] * 86400));
}
if ($conditionData['lessThan'] !== null) {
- $userList->getConditionBuilder()->add('user_table.registrationDate > ?', array(TIME_NOW - $conditionData['lessThan'] * 86400));
+ $objectList->getConditionBuilder()->add('user_table.registrationDate > ?', array(TIME_NOW - $conditionData['lessThan'] * 86400));
}
}
if (!($objectList instanceof UserList)) return;
if (isset($conditionData['userIsBanned'])) {
- $userList->getConditionBuilder()->add('user_table.banned = ?', array($conditionData['userIsBanned']));
+ $objectList->getConditionBuilder()->add('user_table.banned = ?', array($conditionData['userIsBanned']));
}
if ($conditionData['userIsEnabled']) {
if ($conditionData['userIsEnabled']) {
- $userList->getConditionBuilder()->add('user_table.activationCode = ?', array(0));
+ $objectList->getConditionBuilder()->add('user_table.activationCode = ?', array(0));
}
else {
- $userList->getConditionBuilder()->add('user_table.activationCode <> ?', array(0));
+ $objectList->getConditionBuilder()->add('user_table.activationCode <> ?', array(0));
}
}
}