summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-01-17 14:05:39 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-01-24 13:58:29 +0100
commita5a2fe91809537a585dc0b631fea1b235f544642 (patch)
tree383949b66908b5bb88cf76cf0bb07974dd34eecd /lib
parent29d63893ffbe58fc224602594302342697438831 (diff)
downloadnextcloud-server-a5a2fe91809537a585dc0b631fea1b235f544642.tar.gz
nextcloud-server-a5a2fe91809537a585dc0b631fea1b235f544642.zip
show link to app documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/private/app.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php
index eca40a81cc1..d4683b3ba99 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -553,6 +553,10 @@ class OC_App{
}elseif($child->getName()=='description') {
$xml=(string)$child->asXML();
$data[$child->getName()]=substr($xml, 13, -14);//script <description> tags
+ }elseif($child->getName()=='documentation') {
+ foreach($child as $subchild) {
+ $data["documentation"][$subchild->getName()] = (string)$subchild;
+ }
}else{
$data[$child->getName()]=(string)$child;
}