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