Skip to content

Commit 77b1e3c

Browse files
committed
Moved BlacklistHandler to self::pacol
1 parent 3ca0b88 commit 77b1e3c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

model/BlacklistHandler.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ protected function initStruct()
1616
$this->struct = array(
1717
# field name allow display in... type $PALANG label $PALANG description default / options / ...
1818
# editing? form list
19-
'address' => pacol($this->new, 1, 1, 'text', 'pBlacklist_address_field' , 'pBlacklist_address_desc' , ''),
20-
'action' => pacol(1, 1, 1, 'enum', 'pBlacklist_action' , 'pBlacklist_action_desc' , 'REJECT',
19+
'address' => self::pacol($this->new, 1, 1, 'text', 'pBlacklist_address_field' , 'pBlacklist_address_desc' , ''),
20+
'action' => self::pacol(1, 1, 1, 'enum', 'pBlacklist_action' , 'pBlacklist_action_desc' , 'REJECT',
2121
array('REJECT', 'DISCARD', 'DEFER')),
22-
'active' => pacol(1, 1, 1, 'bool', 'active' , '' , 1),
23-
'domain' => pacol(0, 0, 1, 'text', 'domain' , '' , '', array(),
22+
'active' => self::pacol(1, 1, 1, 'bool', 'active' , '' , 1),
23+
'domain' => self::pacol(0, 0, 1, 'text', 'domain' , '' , '', array(),
2424
array('dont_write_to_db' => 1)), # domain is a generated column
25-
'created' => pacol(0, 0, 1, 'ts', 'created' , ''),
26-
'modified' => pacol(0, 0, 1, 'ts', 'last_modified' , ''),
25+
'created' => self::pacol(0, 0, 1, 'ts', 'created' , ''),
26+
'modified' => self::pacol(0, 0, 1, 'ts', 'last_modified' , ''),
2727
);
2828
}
2929

0 commit comments

Comments
 (0)