]> source.dussan.org Git - nextcloud-server.git/commit
Fix SFTP storage id to be compatible with older ids
authorVincent Petry <pvince81@owncloud.com>
Wed, 15 Apr 2015 14:21:41 +0000 (16:21 +0200)
committerVincent Petry <pvince81@owncloud.com>
Wed, 15 Apr 2015 14:25:47 +0000 (16:25 +0200)
commita6c5d65fd621178c8d3899d5a43295edcc4840a2
tree24fa13735e2890f737537ebb4f82c22ddaf4026a
parent1a2475227b6777e016ec931ddae533437bfbb2dd
Fix SFTP storage id to be compatible with older ids

Remove port from SFTP storage id if it is 22.
This will prevent recreating a different storage entry due to id
mismatch after upgrade.
apps/files_external/lib/sftp.php
apps/files_external/tests/backends/sftp.php