summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-30 13:16:13 +0200
committerkondou <kondou@ts.unde.re>2013-08-30 13:16:13 +0200
commit80e10f01c42ec43c09816668a3aff28d55ef65b9 (patch)
treec860b76b545fdf7983ddb73b15f70b343a5d7dda
parentecf187393becc7dc613b4fd1322e40eb58f9f0fd (diff)
downloadnextcloud-server-80e10f01c42ec43c09816668a3aff28d55ef65b9.tar.gz
nextcloud-server-80e10f01c42ec43c09816668a3aff28d55ef65b9.zip
Clean up
m---------3rdparty0
-rw-r--r--core/avatar/controller.php6
-rw-r--r--settings/personal.php1
3 files changed, 3 insertions, 4 deletions
diff --git a/3rdparty b/3rdparty
-Subproject 9d8b5602ecb35697919e2a548e2a704058a6d21
+Subproject 21b466b72cdd4c823c011669593ecef1defb1f3
diff --git a/core/avatar/controller.php b/core/avatar/controller.php
index 9666fd879fb..66ee7edafbe 100644
--- a/core/avatar/controller.php
+++ b/core/avatar/controller.php
@@ -109,8 +109,8 @@ class OC_Core_Avatar_Controller {
// Clean up
\OC_Cache::remove('tmpavatar');
\OC_JSON::success();
- } catch (\Exception $e) {
- \OC_JSON::error(array("data" => array("message" => $e->getMessage()) ));
- }
+ } catch (\Exception $e) {
+ \OC_JSON::error(array("data" => array("message" => $e->getMessage()) ));
+ }
}
}
diff --git a/settings/personal.php b/settings/personal.php
index b0d62645d5a..6a6619d5a14 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -87,7 +87,6 @@ $tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User:
$tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC_User::getUser()));
$tmpl->assign('displayName', OC_User::getDisplayName());
$tmpl->assign('enableDecryptAll' , $enableDecryptAll);
-$tmpl->assign('avatar', OC_Config::getValue('avatar', 'local'));
$forms=OC_App::getForms('personal');
$tmpl->assign('forms', array());