|
@@ 368-371 (lines=4) @@
|
| 365 |
|
WHERE `mountpoint_hash` = ? AND `user` = ?'); |
| 366 |
|
$result = $getShare->execute(array($hash, $this->uid)); |
| 367 |
|
|
| 368 |
|
if ($result) { |
| 369 |
|
$share = $getShare->fetch(); |
| 370 |
|
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); |
| 371 |
|
} |
| 372 |
|
$getShare->closeCursor(); |
| 373 |
|
|
| 374 |
|
$query = $this->connection->prepare(' |
|
@@ 424-429 (lines=6) @@
|
| 421 |
|
WHERE `user` = ?'); |
| 422 |
|
$result = $getShare->execute(array($uid)); |
| 423 |
|
|
| 424 |
|
if ($result) { |
| 425 |
|
$shares = $getShare->fetchAll(); |
| 426 |
|
foreach($shares as $share) { |
| 427 |
|
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); |
| 428 |
|
} |
| 429 |
|
} |
| 430 |
|
|
| 431 |
|
$query = $this->connection->prepare(' |
| 432 |
|
DELETE FROM `*PREFIX*share_external` |