* shown columns
* @var array<string>
*/
- public $columns = array('email', 'registrationDate');
+ public $columns = array('registrationDate', 'lastActivityTime');
/**
* sort field
parent::execute();
+ // add email column for authorized users
+ if (WCF::getSession()->getPermission('admin.user.canEditMailAddress')) {
+ array_unshift($this->columns, 'email');
+ }
+
switch ($this->mode) {
case 'banned':
$sql = "SELECT user_table.userID
* shown columns
* @var array<string>
*/
- public $columns = array('email', 'registrationDate');
+ public $columns = array('registrationDate', 'lastActivityTime');
/**
* number of results
public function readData() {
parent::readData();
+ // add email column for authorized users
+ if (WCF::getSession()->getPermission('admin.user.canEditMailAddress')) {
+ array_unshift($this->columns, 'email');
+ }
+
$this->readOptionTree();
}