Lines 3306-3316
sub GetOfflineOperations {
Link Here
|
3306 |
} |
3306 |
} |
3307 |
|
3307 |
|
3308 |
sub GetOfflineOperation { |
3308 |
sub GetOfflineOperation { |
|
|
3309 |
my $operationid = shift; |
3310 |
return unless $operationid; |
3309 |
my $dbh = C4::Context->dbh; |
3311 |
my $dbh = C4::Context->dbh; |
3310 |
my $sth = $dbh->prepare("SELECT * FROM pending_offline_operations WHERE operationid=?"); |
3312 |
my $sth = $dbh->prepare("SELECT * FROM pending_offline_operations WHERE operationid=?"); |
3311 |
$sth->execute( shift ); |
3313 |
$sth->execute( $operationid ); |
3312 |
my $result = $sth->fetchrow_hashref; |
3314 |
return $sth->fetchrow_hashref; |
3313 |
return $result; |
|
|
3314 |
} |
3315 |
} |
3315 |
|
3316 |
|
3316 |
sub AddOfflineOperation { |
3317 |
sub AddOfflineOperation { |
3317 |
- |
|
|