From f6f20d27d6af2895dba73573ab60e69901f34903 Mon Sep 17 00:00:00 2001 From: Chris Nehren Date: Wed, 2 Jan 2008 23:01:16 +0000 Subject: [PATCH] Maintain status quo and keep the default of exporting all assets. --- docs/upgrades/upgrade_7.4.18-7.5.0.pl | 2 +- lib/WebGUI/Asset.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/upgrades/upgrade_7.4.18-7.5.0.pl b/docs/upgrades/upgrade_7.4.18-7.5.0.pl index 2f24d32e1..810511789 100644 --- a/docs/upgrades/upgrade_7.4.18-7.5.0.pl +++ b/docs/upgrades/upgrade_7.4.18-7.5.0.pl @@ -270,7 +270,7 @@ ENDSQL sub addIsExportable { my $session = shift; print "Adding isExportable flag for all assets (fine-grained export control)..." unless $quiet; - $session->db->write('alter table assetData add column isExportable int(11) not null default 0'); + $session->db->write('alter table assetData add column isExportable int(11) not null default 1'); print "DONE!\n" unless $quiet; } diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index ac1b51ce3..583e29b16 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -457,7 +457,7 @@ sub definition { hoverHelp=>$i18n->get('make asset exportable description'), uiLevel=>9, fieldType=>'yesNo', - defaultValue=>0, + defaultValue=>1, }, status=>{ noFormPost=>1,