diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-17 14:05:39 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-01-17 14:56:25 +0100 |
commit | bf0471a92ed4fca8fe3344839acd83d6918cf566 (patch) | |
tree | 8c6a944495a86850eb31bd7dd290c100eebfb1df /lib | |
parent | 1df6bf997a5f4bb44902d237d07bd06eccf6a9fc (diff) | |
download | nextcloud-server-bf0471a92ed4fca8fe3344839acd83d6918cf566.tar.gz nextcloud-server-bf0471a92ed4fca8fe3344839acd83d6918cf566.zip |
show link to app documentation
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; } |