Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-09 18:57:46 +0400
committerkondou <kondou@ts.unde.re>2013-09-09 18:57:46 +0400
commit1832eb88726dce70d4f8a0a45bd574b0b688ab26 (patch)
treece7c5b7a0e8a3e61f8bb93312cb7fedb6a4a58a7 /settings/users.php
parentd18a070a0393ac3846053bcef1833dd01856e117 (diff)
Pass view in \OC_Avatar to constructor and use $_ for enable_avatars
Diffstat (limited to 'settings/users.php')
-rw-r--r--settings/users.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/users.php b/settings/users.php
index 213d1eecfda..2f1c63a0b59 100644
--- a/settings/users.php
+++ b/settings/users.php
@@ -81,4 +81,5 @@ $tmpl->assign( 'quota_preset', $quotaPreset);
$tmpl->assign( 'default_quota', $defaultQuota);
$tmpl->assign( 'defaultQuotaIsUserDefined', $defaultQuotaIsUserDefined);
$tmpl->assign( 'recoveryAdminEnabled', $recoveryAdminEnabled);
+$tmpl->assign('enableAvatars', \OC_Config::getValue('enable_avatars', true));
$tmpl->printPage();