myaac/system/libs/pot/OTS_PlayerBans_List.php
SRNT-GG 76bfab1303 WIP - Removing unneccessary closing tags to prevent potential issues. (#223)
* Part 1

Removing closing tags when no HTML or other output comes after the last PHP codeblock.

* Further removals

* nothing

---------

Co-authored-by: slawkens <slawkens@gmail.com>
2023-06-15 21:06:22 +02:00

37 lines
742 B
PHP

<?php
/**
* @package POT
* @version 0.1.5
* @since 0.1.5
* @author Wrzasq <wrzasq@gmail.com>
* @copyright 2007 - 2008 (C) by Wrzasq
* @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public License, Version 3
*/
/**
* List of player bans.
*
* @package POT
* @version 0.1.5
* @since 0.1.5
*/
class OTS_PlayerBans_List extends OTS_Bans_List
{
/**
* Initializes list with player bans filtering.
*
* @version 0.1.5
* @since 0.1.5
*/
public function __construct()
{
parent::__construct();
// filters only account bans
$filter = new OTS_SQLFilter();
$filter->addFilter( new OTS_SQLField('type', 'bans'), POT::BAN_PLAYER);
$this->setFilter($filter);
}
}