|
@@ 342-345 (lines=4) @@
|
| 339 |
|
WHERE `mountpoint_hash` = ? AND `user` = ?'); |
| 340 |
|
$result = $getShare->execute(array($hash, $this->uid)); |
| 341 |
|
|
| 342 |
|
if ($result) { |
| 343 |
|
$share = $getShare->fetch(); |
| 344 |
|
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); |
| 345 |
|
} |
| 346 |
|
$getShare->closeCursor(); |
| 347 |
|
|
| 348 |
|
$query = $this->connection->prepare(' |
|
@@ 398-403 (lines=6) @@
|
| 395 |
|
WHERE `user` = ?'); |
| 396 |
|
$result = $getShare->execute(array($uid)); |
| 397 |
|
|
| 398 |
|
if ($result) { |
| 399 |
|
$shares = $getShare->fetchAll(); |
| 400 |
|
foreach($shares as $share) { |
| 401 |
|
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); |
| 402 |
|
} |
| 403 |
|
} |
| 404 |
|
|
| 405 |
|
$query = $this->connection->prepare(' |
| 406 |
|
DELETE FROM `*PREFIX*share_external` |