Lines 8-19
return {
Link Here
|
8 |
my ($args) = @_; |
8 |
my ($args) = @_; |
9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
9 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
10 |
|
10 |
|
11 |
# Do you stuffs here |
|
|
12 |
$dbh->do( |
11 |
$dbh->do( |
13 |
q{update authorised_values set lib = "Aggregated full text" where category = "ERM_PACKAGE_CONTENT_TYPE" and authorised_value = "AggregatedFullText" and lib = "Aggregated full"} |
12 |
q{ |
14 |
); |
13 |
UPDATE authorised_values |
15 |
|
14 |
SET lib = "Aggregated full text" |
16 |
say_success( $out, "Updated description of authorized value AggregatedFullText" ); |
15 |
WHERE category = "ERM_PACKAGE_CONTENT_TYPE" |
|
|
16 |
AND authorised_value = "AggregatedFullText" |
17 |
AND lib = "Aggregated full" |
18 |
} |
19 |
) == 1 && say_success( $out, "Updated description of authorized value AggregatedFullText" ); |
17 |
|
20 |
|
18 |
}, |
21 |
}, |
19 |
}; |
22 |
}; |
20 |
- |
|
|