aboutsummaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-06-03 19:01:12 +0200
committericewind1991 <robin@icewind.nl>2014-06-03 19:01:12 +0200
commitcdf8a123e7133fdb59991ee1bc830e625727460f (patch)
tree90fb931f8f0adccd8687c154723e53d5fb3e7dec /settings/apps.php
parente4c3ff03d60d5b541e483050174b1b7456e4babd (diff)
parenta3202f1f031b443433aefc74958b268ceae3e024 (diff)
downloadnextcloud-server-cdf8a123e7133fdb59991ee1bc830e625727460f.tar.gz
nextcloud-server-cdf8a123e7133fdb59991ee1bc830e625727460f.zip
Merge pull request #8264 from owncloud/app-enable-by-group
Add the option to enable apps only for specific groups
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 6fd2efc2018..7573c8b573f 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -25,13 +25,16 @@ OC_Util::checkAdminUser();
// Load the files we need
OC_Util::addStyle( "settings", "settings" );
+OC_Util::addScript("core", "multiselect");
OC_App::setActiveNavigationEntry( "core_apps" );
$combinedApps = OC_App::listAllApps();
+$groups = \OC_Group::getGroups();
$tmpl = new OC_Template( "settings", "apps", "user" );
$tmpl->assign('apps', $combinedApps);
+$tmpl->assign('groups', $groups);
$appid = (isset($_GET['appid'])?strip_tags($_GET['appid']):'');