From: Tim Starling Date: Tue, 11 Jul 2006 06:56:27 +0000 (+0000) Subject: Use bool not boolean for 4.0.x compatibility X-Git-Tag: 1.31.0-rc.0~56313 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=fa2b003c19f9c79c2665f5d70685de05b59d9aa8;p=lhc%2Fweb%2Fwiklou.git Use bool not boolean for 4.0.x compatibility --- diff --git a/maintenance/archives/patch-ipb_anon_only.sql b/maintenance/archives/patch-ipb_anon_only.sql index 606e575cb7..8e8b2856b7 100644 --- a/maintenance/archives/patch-ipb_anon_only.sql +++ b/maintenance/archives/patch-ipb_anon_only.sql @@ -16,9 +16,9 @@ CREATE TABLE /*$wgDBprefix*/ipblocks_newunique ( ipb_by int(8) unsigned NOT NULL default '0', ipb_reason tinyblob NOT NULL default '', ipb_timestamp char(14) binary NOT NULL default '', - ipb_auto boolean NOT NULL default 0, - ipb_anon_only boolean NOT NULL default 0, - ipb_create_account boolean NOT NULL default 1, + ipb_auto bool NOT NULL default 0, + ipb_anon_only bool NOT NULL default 0, + ipb_create_account bool NOT NULL default 1, ipb_expiry char(14) binary NOT NULL default '', ipb_range_start tinyblob NOT NULL default '', ipb_range_end tinyblob NOT NULL default '', diff --git a/maintenance/mysql5/tables.sql b/maintenance/mysql5/tables.sql index e1ae0e67cf..81a4690adc 100644 --- a/maintenance/mysql5/tables.sql +++ b/maintenance/mysql5/tables.sql @@ -583,13 +583,13 @@ CREATE TABLE /*$wgDBprefix*/ipblocks ( -- Indicates that the IP address was banned because a banned -- user accessed a page through it. If this is 1, ipb_address -- will be hidden, and the block identified by block ID number. - ipb_auto boolean NOT NULL default '0', + ipb_auto bool NOT NULL default '0', -- If set to 1, block applies only to logged-out users - ipb_anon_only boolean NOT NULL default 0, + ipb_anon_only bool NOT NULL default 0, -- Block prevents account creation from matching IP addresses - ipb_create_account boolean NOT NULL default 1, + ipb_create_account bool NOT NULL default 1, -- Time at which the block will expire. ipb_expiry char(14) binary NOT NULL default '', diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 67b620aed3..044ccee57b 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -570,13 +570,13 @@ CREATE TABLE /*$wgDBprefix*/ipblocks ( -- Indicates that the IP address was banned because a banned -- user accessed a page through it. If this is 1, ipb_address -- will be hidden, and the block identified by block ID number. - ipb_auto boolean NOT NULL default 0, + ipb_auto bool NOT NULL default 0, -- If set to 1, block applies only to logged-out users - ipb_anon_only boolean NOT NULL default 0, + ipb_anon_only bool NOT NULL default 0, -- Block prevents account creation from matching IP addresses - ipb_create_account boolean NOT NULL default 1, + ipb_create_account bool NOT NULL default 1, -- Time at which the block will expire. ipb_expiry char(14) binary NOT NULL default '',