diff options
author | Jakob Sack <kde@jakobsack.de> | 2011-03-03 21:55:32 +0100 |
---|---|---|
committer | Jakob Sack <kde@jakobsack.de> | 2011-03-03 21:55:32 +0100 |
commit | ae5dc3efdffef75c48e5ef7cac6b40cd5720442b (patch) | |
tree | 53a0ecc40c827ae255e6f7c95a37c9a52b6d4ab8 /files | |
parent | 94b405b64fdd1427873e49888fb0527640a10eb6 (diff) | |
download | nextcloud-server-ae5dc3efdffef75c48e5ef7cac6b40cd5720442b.tar.gz nextcloud-server-ae5dc3efdffef75c48e5ef7cac6b40cd5720442b.zip |
New classes for owncloud: OC_APP for applications, OC_PREFERENCES for user preferences
Diffstat (limited to 'files')
-rw-r--r-- | files/appinfo.php | 6 | ||||
-rw-r--r-- | files/appinfo/app.php | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/files/appinfo.php b/files/appinfo.php deleted file mode 100644 index 44a533cf4a0..00000000000 --- a/files/appinfo.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php - -OC_UTIL::addApplication( array( "id" => "files", "name" => "Files" )); -OC_UTIL::addNavigationEntry( array( "app" => "files", "file" => "index.php", "name" => "Files" )); - -?> diff --git a/files/appinfo/app.php b/files/appinfo/app.php new file mode 100644 index 00000000000..aa0054fc43d --- /dev/null +++ b/files/appinfo/app.php @@ -0,0 +1,7 @@ +<?php + +OC_APP::register( array( "id" => "files", "name" => "Files" )); +OC_UTIL::addNavigationEntry( array( "app" => "files", "file" => "index.php", "name" => "Files" )); +OC_UTIL::addAdminPage( array( "app" => "files", "file" => "admin.php", "name" => "Files" )); + +?> |