Merge pull request #17316 from owncloud/master-delete-ocsid-from-db-if-none-specified
[Master] Delete OCS ID from DB if none is specified
This commit is contained in:
commit
c7968d202f
|
@ -1 +1 @@
|
|||
0.6.1
|
||||
0.6.2
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.6.2
|
||||
0.6.3
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.0.5
|
||||
1.0.6
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.6.0
|
||||
0.6.1
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.1.0.1
|
||||
1.1.0.2
|
||||
|
|
|
@ -1174,6 +1174,8 @@ class OC_App {
|
|||
$appData = self::getAppInfo($appId);
|
||||
if (array_key_exists('ocsid', $appData)) {
|
||||
OC_Appconfig::setValue($appId, 'ocsid', $appData['ocsid']);
|
||||
} elseif(OC_Appconfig::getValue($appId, 'ocsid', null) !== null) {
|
||||
OC_Appconfig::deleteKey($appId, 'ocsid');
|
||||
}
|
||||
foreach ($appData['remote'] as $name => $path) {
|
||||
OCP\CONFIG::setAppValue('core', 'remote_' . $name, $appId . '/' . $path);
|
||||
|
|
Loading…
Reference in New Issue