summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2014-01-18 08:09:07 -0800
committerMorris Jobke <morris.jobke@gmail.com>2014-01-18 08:09:07 -0800
commit419d2d27e8ce38c1ede455a24ad20ac27fd177b0 (patch)
tree9c3009f184560760551c17c1d58081dc3647e651 /lib
parentdb353e14cce316b271d3bfcfdbc6989e146d4517 (diff)
parent80d871ab1e440dab1db7b17fa449f039f33734ee (diff)
downloadnextcloud-server-419d2d27e8ce38c1ede455a24ad20ac27fd177b0.tar.gz
nextcloud-server-419d2d27e8ce38c1ede455a24ad20ac27fd177b0.zip
Merge pull request #6818 from owncloud/add_documentation_to_appinfo
Allow app developers to add documentation links to the appinfo
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;
}