diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php
index 6f1377a3b53..6b885bcda72 100644
--- a/lib/private/App/AppManager.php
+++ b/lib/private/App/AppManager.php
@@ -994,11 +994,6 @@ class AppManager implements IAppManager {
\OC_App::setupBackgroundJobs($appData['background-jobs']);
//set remote/public handlers
- if (array_key_exists('ocsid', $appData)) {
- $this->config->setAppValue($appId, 'ocsid', $appData['ocsid']);
- } elseif ($this->config->getAppValue($appId, 'ocsid') !== '') {
- $this->config->deleteAppValue($appId, 'ocsid');
- }
foreach ($appData['remote'] as $name => $path) {
$this->config->setAppValue('core', 'remote_' . $name, $appId . '/' . $path);
}
diff --git a/lib/private/Installer.php b/lib/private/Installer.php
index 8fbbd0b9bd0..8a3290f144d 100644
--- a/lib/private/Installer.php
+++ b/lib/private/Installer.php
@@ -613,9 +613,6 @@ class Installer {
OC_App::executeRepairSteps($app, $info['repair-steps']['install']);
$config->setAppValue($app, 'installed_version', $appManager->getAppVersion($app));
- if (array_key_exists('ocsid', $info)) {
- $config->setAppValue($app, 'ocsid', $info['ocsid']);
- }
//set remote/public handlers
foreach ($info['remote'] as $name => $path) {
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index 40ba6104104..9c5ce230cad 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -16,7 +16,6 @@
"admin": "admin-encryption"
},
"types": ["filesystem"],
- "ocsid": "166047",
"dependencies": {
"php": {
"@attributes" : {
diff --git a/tests/data/app/invalid-info.xml b/tests/data/app/invalid-info.xml
index 1c39ae2d625..8a95669beb0 100644
--- a/tests/data/app/invalid-info.xml
+++ b/tests/data/app/invalid-info.xml
@@ -22,5 +22,4 @@
- 166047
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index d2569788399..811fa634264 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -22,7 +22,6 @@
- 166047
sqlite