|
@@ 283-287 (lines=5) @@
|
| 280 |
|
} |
| 281 |
|
} |
| 282 |
|
} |
| 283 |
|
if ($requery) { |
| 284 |
|
$shared_items = \OCP\Share::getItemsSharedWith('ownnote', 'populated_shares'); |
| 285 |
|
$results = array_merge($this->findNotesFromUser($uid), $shared_items); |
| 286 |
|
$requery = false; |
| 287 |
|
} |
| 288 |
|
|
| 289 |
|
// Tests to add a bunch of notes |
| 290 |
|
//$now = new DateTime(); |
|
@@ 383-386 (lines=4) @@
|
| 380 |
|
} |
| 381 |
|
} |
| 382 |
|
} |
| 383 |
|
if ($requery) { |
| 384 |
|
$shared_items = \OCP\Share::getItemsSharedWith('ownnote', 'populated_shares'); |
| 385 |
|
$results = array_merge($this->findNotesFromUser($uid), $shared_items); |
| 386 |
|
} |
| 387 |
|
// Now also make sure the files exist, they may not if the user switched folders in admin. |
| 388 |
|
if ($results) |
| 389 |
|
foreach ($results as $result) { |