diff options
| author | mark <mark> | 2011-08-23 21:46:34 +0000 |
|---|---|---|
| committer | mark <mark> | 2011-08-23 21:46:34 +0000 |
| commit | ab8aef9ec21df4b149f39cd24c9c5f3542dd2e3e (patch) | |
| tree | ceaa135796c9d158e12f8ce7b3c55ad4df2ab774 /FS/bin | |
| parent | b431ece7b4a71aa5771f44393da582692f668817 (diff) | |
RT future ticket resolve, #13853
Diffstat (limited to 'FS/bin')
| -rwxr-xr-x | FS/bin/freeside-daily | 4 | ||||
| -rwxr-xr-x | FS/bin/freeside-upgrade | 15 |
2 files changed, 2 insertions, 17 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index a7c38d557..2beb096ab 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -62,8 +62,8 @@ use FS::Cron::backup qw(backup); backup(); #same -use FS::Cron::rt_tasks qw(rt_escalate); -rt_escalate(%opt); +use FS::Cron::rt_tasks qw(rt_daily); +rt_daily(%opt); my $deldir = "$FS::UID::cache_dir/cache.$FS::UID::datasrc/"; unlink <${deldir}.invoice*>; diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade index 16c30d9cf..48304d319 100755 --- a/FS/bin/freeside-upgrade +++ b/FS/bin/freeside-upgrade @@ -84,21 +84,6 @@ if ( dbdef->table('areacode') and } } -# RT required field flag -# for consistency with RT schema: mysql is in CamelCase, -# pg is in lowercase, and they use different data types. -my ($t, $creq, $cdis) = - map { driver_name =~ /^mysql/i ? $_ : lc($_) } - ('CustomFields','Required','Disabled'); - -if ( dbdef->table($t) && - ! dbdef->table($t)->column($creq) ) { - push @bugfix, - "ALTER TABLE $t ADD COLUMN $creq ". - dbdef->table($t)->column($cdis)->type . - ' NOT NULL DEFAULT 0'; -} - if ( $DRY_RUN ) { print join(";\n", @bugfix ). ";\n"; |
