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-17 14:56:25 +0100
commitbf0471a92ed4fca8fe3344839acd83d6918cf566 (patch)
tree8c6a944495a86850eb31bd7dd290c100eebfb1df /lib
parent1df6bf997a5f4bb44902d237d07bd06eccf6a9fc (diff)
downloadnextcloud-server-bf0471a92ed4fca8fe3344839acd83d6918cf566.tar.gz
nextcloud-server-bf0471a92ed4fca8fe3344839acd83d6918cf566.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 34c00e97fb9..0c60557914a 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -555,6 +555,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;
}