Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Mar 9, 2023

  • Resolves: #

Summary

Add a command to scan trashbin database table and filesystem and check that both matches. This helps diagnostic of complex situation.

TODO

  • ...

Checklist

@come-nc come-nc added enhancement 2. developing Work in progress labels Mar 9, 2023
@come-nc come-nc self-assigned this Mar 9, 2023
@come-nc come-nc added this to the Nextcloud 27 milestone Mar 9, 2023
@come-nc come-nc force-pushed the enh/trashbin-scan-command branch from ae1ee86 to cf7a539 Compare March 9, 2023 14:15
@come-nc come-nc force-pushed the enh/trashbin-scan-command branch from cf7a539 to 8e11fb0 Compare March 9, 2023 14:42
This was referenced May 3, 2023
@come-nc come-nc modified the milestones: Nextcloud 27, Nextcloud 28 May 11, 2023
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
@blizzz blizzz mentioned this pull request Nov 6, 2023
@come-nc come-nc modified the milestones: Nextcloud 28, Nextcloud 29 Nov 7, 2023
@Altahrim Altahrim mentioned this pull request Mar 12, 2024
@come-nc come-nc modified the milestones: Nextcloud 29, Nextcloud 30 Mar 12, 2024
This was referenced Jul 30, 2024
This was referenced Aug 5, 2024
\OC_User::setUserId($uid);

$filesInTrash = Helper::getTrashFiles('/', $uid);
$filesInTrashDatabase = Trashbin::getLocations($uid);

Check failure

Code scanning / Psalm

UndefinedMethod

Method OCA\Files_Trashbin\Trashbin::getlocations does not exist
@skjnldsv skjnldsv mentioned this pull request Aug 13, 2024
@skjnldsv skjnldsv closed this Aug 14, 2024
@skjnldsv skjnldsv removed this from the Nextcloud 30 milestone Aug 14, 2024
@susnux susnux deleted the enh/trashbin-scan-command branch April 23, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants