add ocsids to info.xml

This commit is contained in:
Georg Ehrke 2014-07-07 16:57:50 +02:00
parent 268af9039a
commit e5e8e28ae7
15 changed files with 17 additions and 7 deletions

View File

@ -15,4 +15,5 @@
<types> <types>
<filesystem/> <filesystem/>
</types> </types>
<ocsid>166047</ocsid>
</info> </info>

View File

@ -1 +1 @@
0.6 0.6.1

View File

@ -10,4 +10,5 @@
<types> <types>
<filesystem/> <filesystem/>
</types> </types>
<ocsid>166048</ocsid>
</info> </info>

View File

@ -1 +1 @@
0.2 0.2.1

View File

@ -15,4 +15,5 @@
<files>public.php</files> <files>public.php</files>
<webdav>publicwebdav.php</webdav> <webdav>publicwebdav.php</webdav>
</public> </public>
<ocsid>166050</ocsid>
</info> </info>

View File

@ -1 +1 @@
0.5.2 0.5.3

View File

@ -24,4 +24,5 @@
<types> <types>
<filesystem/> <filesystem/>
</types> </types>
<ocsid>166052</ocsid>
</info> </info>

View File

@ -1 +1 @@
0.6.1 0.6.2

View File

@ -29,4 +29,5 @@
<filesystem/> <filesystem/>
</types> </types>
<default_enable/> <default_enable/>
<ocsid>166053</ocsid>
</info> </info>

View File

@ -1 +1 @@
1.0.4 1.0.5

View File

@ -17,4 +17,5 @@
<documentation> <documentation>
<admin>http://doc.owncloud.org/server/6.0/go.php?to=admin-ldap</admin> <admin>http://doc.owncloud.org/server/6.0/go.php?to=admin-ldap</admin>
</documentation> </documentation>
<ocsid>166061</ocsid>
</info> </info>

View File

@ -1 +1 @@
0.4.2 0.4.3

View File

@ -12,4 +12,5 @@
<types> <types>
<authentication/> <authentication/>
</types> </types>
<ocsid>166062</ocsid>
</info> </info>

View File

@ -1 +1 @@
1.1.0.0 1.1.0.1

View File

@ -1186,6 +1186,9 @@ class OC_App {
//set remote/public handlers //set remote/public handlers
$appData = self::getAppInfo($appid); $appData = self::getAppInfo($appid);
if (array_key_exists('ocsid', $appData)) {
OC_Appconfig::setValue($appid, 'ocsid', $appData['ocsid']);
}
foreach ($appData['remote'] as $name => $path) { foreach ($appData['remote'] as $name => $path) {
OCP\CONFIG::setAppValue('core', 'remote_' . $name, $appid . '/' . $path); OCP\CONFIG::setAppValue('core', 'remote_' . $name, $appid . '/' . $path);
} }