nextcloud/apps
Daniel Calviño Sánchez 7e87b12271 Fix valid storages removed when cleaning remote storages
The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.

The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.

Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-18 08:05:04 +00:00
..
accessibility Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
admin_audit Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
cloud_federation_api [tx-robot] updated from transifex 2021-03-14 02:23:50 +00:00
comments [tx-robot] updated from transifex 2021-03-15 02:24:10 +00:00
contactsinteraction Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
dashboard [tx-robot] updated from transifex 2021-03-10 02:23:09 +00:00
dav [tx-robot] updated from transifex 2021-03-15 02:24:10 +00:00
encryption Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
federatedfilesharing Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
federation Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
files Merge pull request #26087 from nextcloud/backport/26049/stable21 2021-03-18 08:21:50 +01:00
files_external [tx-robot] updated from transifex 2021-03-18 02:25:13 +00:00
files_sharing Fix valid storages removed when cleaning remote storages 2021-03-18 08:05:04 +00:00
files_trashbin Merge pull request #26039 from nextcloud/backport/25916/stable21 2021-03-11 10:31:30 +01:00
files_versions Restrict autocompletion also based on the phonebook known users 2021-03-11 08:40:03 +01:00
lookup_server_connector Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
oauth2 Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
provisioning_api Only clear known users when we had at least one phonebook entry 2021-03-12 09:48:14 +00:00
settings [tx-robot] updated from transifex 2021-03-17 02:24:31 +00:00
sharebymail Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
systemtags Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
testing Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
theming [tx-robot] updated from transifex 2021-03-11 02:23:18 +00:00
twofactor_backupcodes Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
updatenotification [tx-robot] updated from transifex 2021-03-17 02:24:31 +00:00
user_ldap adds ldap user:reset command 2021-03-17 13:38:55 +00:00
user_status Add a KnownUsers database with model 2021-03-11 08:38:55 +01:00
weather_status [tx-robot] updated from transifex 2021-03-04 02:22:22 +00:00
workflowengine [tx-robot] updated from transifex 2021-03-15 02:24:10 +00:00