diff options
author | Morris Jobke <morris.jobke@gmail.com> | 2014-01-18 08:09:07 -0800 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2014-01-18 08:09:07 -0800 |
commit | 419d2d27e8ce38c1ede455a24ad20ac27fd177b0 (patch) | |
tree | 9c3009f184560760551c17c1d58081dc3647e651 /lib | |
parent | db353e14cce316b271d3bfcfdbc6989e146d4517 (diff) | |
parent | 80d871ab1e440dab1db7b17fa449f039f33734ee (diff) | |
download | nextcloud-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.php | 4 |
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; } |