|
@@ 357-360 (lines=4) @@
|
| 354 |
|
WHERE `mountpoint_hash` = ? AND `user` = ?'); |
| 355 |
|
$result = $getShare->execute(array($hash, $this->uid)); |
| 356 |
|
|
| 357 |
|
if ($result) { |
| 358 |
|
$share = $getShare->fetch(); |
| 359 |
|
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); |
| 360 |
|
} |
| 361 |
|
$getShare->closeCursor(); |
| 362 |
|
|
| 363 |
|
$query = $this->connection->prepare(' |
|
@@ 413-418 (lines=6) @@
|
| 410 |
|
WHERE `user` = ?'); |
| 411 |
|
$result = $getShare->execute(array($uid)); |
| 412 |
|
|
| 413 |
|
if ($result) { |
| 414 |
|
$shares = $getShare->fetchAll(); |
| 415 |
|
foreach($shares as $share) { |
| 416 |
|
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline'); |
| 417 |
|
} |
| 418 |
|
} |
| 419 |
|
|
| 420 |
|
$query = $this->connection->prepare(' |
| 421 |
|
DELETE FROM `*PREFIX*share_external` |