Skip to content
Snippets Groups Projects
Commit 80e10f01 authored by Christopher Schäpers's avatar Christopher Schäpers
Browse files

Clean up

parent ecf18739
No related branches found
No related tags found
No related merge requests found
Subproject commit 9d8b5602ecb35697919e2a548e2a704058a6d21a Subproject commit 21b466b72cdd4c823c011669593ecef1defb1f3c
...@@ -109,8 +109,8 @@ class OC_Core_Avatar_Controller { ...@@ -109,8 +109,8 @@ class OC_Core_Avatar_Controller {
// Clean up // Clean up
\OC_Cache::remove('tmpavatar'); \OC_Cache::remove('tmpavatar');
\OC_JSON::success(); \OC_JSON::success();
} catch (\Exception $e) { } catch (\Exception $e) {
\OC_JSON::error(array("data" => array("message" => $e->getMessage()) )); \OC_JSON::error(array("data" => array("message" => $e->getMessage()) ));
} }
} }
} }
...@@ -87,7 +87,6 @@ $tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User: ...@@ -87,7 +87,6 @@ $tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User:
$tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC_User::getUser())); $tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC_User::getUser()));
$tmpl->assign('displayName', OC_User::getDisplayName()); $tmpl->assign('displayName', OC_User::getDisplayName());
$tmpl->assign('enableDecryptAll' , $enableDecryptAll); $tmpl->assign('enableDecryptAll' , $enableDecryptAll);
$tmpl->assign('avatar', OC_Config::getValue('avatar', 'local'));
$forms=OC_App::getForms('personal'); $forms=OC_App::getForms('personal');
$tmpl->assign('forms', array()); $tmpl->assign('forms', array());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment