Lines 1-8
Link Here
|
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
2 |
if( CheckVersion( $DBversion ) ) { |
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
|
3 |
|
4 |
if( !column_exists( 'items', 'paidfor' ) ) { |
4 |
if( column_exists( 'items', 'paidfor' ) ) { |
5 |
$dbh->do(q|ALTER TABLE items DROP COLUMN paidfor|); |
5 |
$dbh->do(q|ALTER TABLE items DROP COLUMN paidfor|); |
|
|
6 |
} |
7 |
|
8 |
if ( column_exists( 'deleteditems', 'paidfor' ) ) { |
6 |
$dbh->do(q|ALTER TABLE deleteditems DROP COLUMN paidfor|); |
9 |
$dbh->do(q|ALTER TABLE deleteditems DROP COLUMN paidfor|); |
7 |
} |
10 |
} |
8 |
|
11 |
|
9 |
- |
|
|