public function __construct($okt) { parent::__construct($okt); // if (defined('DC_DNSBL_SUPER') && DC_DNSBL_SUPER && !$okt->auth->isSuperAdmin()) { // $this->has_gui = false; // } $this->has_gui = false; }
public function __construct($okt) { parent::__construct($okt); $this->db = $okt->db; $this->table = $okt->db->prefix . 'mod_spamrule'; }