summaryrefslogtreecommitdiffstats
path: root/settings/users.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-27 20:55:11 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-27 20:55:11 -0400
commitaad7dc8390b67ee7d04d83765b1295b9507767f5 (patch)
tree7232b509225fb3aa9cbe630a5267c971130b1f27 /settings/users.php
parent42a291286b4627191a18e8848dffee0bf5574c93 (diff)
downloadnextcloud-server-aad7dc8390b67ee7d04d83765b1295b9507767f5.tar.gz
nextcloud-server-aad7dc8390b67ee7d04d83765b1295b9507767f5.zip
Remove sharing notice in users settings - The default is now share with anyone, groups only sharing is now a setting in the admin page
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/settings/users.php b/settings/users.php
index 58018f00ec3..b04f0c99e8f 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -45,14 +45,6 @@ foreach($quotaPreset as &$preset){
$defaultQuota=OC_Appconfig::getValue('files','default_quota','none');
-$shareNotice = '';
-
-if (\OC_App::isEnabled( "files_sharing" ) ) {
-
- $shareNotice = 'Note: users may only share to groups that they belong to, and their members';
-
-}
-
$tmpl = new OC_Template( "settings", "users", "user" );
$tmpl->assign( "users", $users );
$tmpl->assign( "groups", $groups );
@@ -61,5 +53,4 @@ $tmpl->assign( 'subadmins', $subadmins);
$tmpl->assign( 'numofgroups', count($accessiblegroups));
$tmpl->assign( 'quota_preset', $quotaPreset);
$tmpl->assign( 'default_quota', $defaultQuota);
-$tmpl->assign( 'share_notice', $shareNotice);
-$tmpl->printPage();
+$tmpl->printPage(); \ No newline at end of file