nextcloud/apps
Daniel Calviño Sánchez 05cbdddb0d 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:02:28 +00:00
..
accessibility [tx-robot] updated from transifex 2021-03-02 02:22:49 +00:00
admin_audit Update license headers for 19 2020-04-29 11:57:22 +02:00
cloud_federation_api Update license headers for 19 2020-04-29 11:57:22 +02:00
comments [tx-robot] updated from transifex 2021-03-15 02:24:26 +00:00
contactsinteraction Card::getOwner should return the actual value 2021-03-01 17:33:17 +00:00
dav [tx-robot] updated from transifex 2021-03-15 02:24:26 +00:00
encryption [tx-robot] updated from transifex 2021-03-09 02:24:20 +00:00
federatedfilesharing [tx-robot] updated from transifex 2021-03-10 02:23:25 +00:00
federation [tx-robot] updated from transifex 2021-03-04 02:22:39 +00:00
files [tx-robot] updated from transifex 2021-03-18 02:25:29 +00:00
files_external [tx-robot] updated from transifex 2021-03-18 02:25:29 +00:00
files_sharing Fix valid storages removed when cleaning remote storages 2021-03-18 08:02:28 +00:00
files_trashbin Remove trash items from other trash backends when deleting all 2021-03-10 08:05:03 +00:00
files_versions [tx-robot] updated from transifex 2021-03-04 02:22:39 +00:00
lookup_server_connector Update license headers for 19 2020-04-29 11:57:22 +02:00
oauth2 [tx-robot] updated from transifex 2021-03-07 02:22:31 +00:00
provisioning_api Fix the user email issue while creating a user 2020-10-05 19:34:19 +00:00
settings [tx-robot] updated from transifex 2021-03-17 02:24:47 +00:00
sharebymail [tx-robot] updated from transifex 2021-03-10 02:23:25 +00:00
systemtags [tx-robot] updated from transifex 2021-03-04 02:22:39 +00:00
testing Update license headers for 19 2020-04-29 11:57:22 +02:00
theming [tx-robot] updated from transifex 2021-03-11 02:23:35 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2021-03-04 02:22:39 +00:00
updatenotification [tx-robot] updated from transifex 2021-03-17 02:24:47 +00:00
user_ldap [tx-robot] updated from transifex 2021-03-15 02:24:26 +00:00
workflowengine [tx-robot] updated from transifex 2021-03-15 02:24:26 +00:00