From 0e71131a1b85d1f3361c309b476f6d7a43b7f6ce Mon Sep 17 00:00:00 2001
From: barisusakli <barisusakli@gmail.com>
Date: Wed, 10 Feb 2016 12:54:18 +0200
Subject: [PATCH] adjust for config change

---
 templates/account/edit.tpl                         | 4 ++--
 templates/partials/modals/change_picture_modal.tpl | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/account/edit.tpl b/templates/account/edit.tpl
index 181a591..dda62d1 100644
--- a/templates/account/edit.tpl
+++ b/templates/account/edit.tpl
@@ -32,11 +32,11 @@
 					<!-- ENDIF email -->
 					<!-- ENDIF config.requireEmailConfirmation -->
 
-					<!-- IF config.allowAccountDelete -->
+					<!-- IF allowAccountDelete -->
 					<!-- IF isSelf -->
 					<a id="deleteAccountBtn" href="#" class="btn btn-danger">[[user:delete_account]]</a><br/><br/>
 					<!-- ENDIF isSelf -->
-					<!-- ENDIF config.allowAccountDelete -->
+					<!-- ENDIF allowAccountDelete -->
 
 				</div>
 			</div>
diff --git a/templates/partials/modals/change_picture_modal.tpl b/templates/partials/modals/change_picture_modal.tpl
index 3ca7b2b..8dca31a 100644
--- a/templates/partials/modals/change_picture_modal.tpl
+++ b/templates/partials/modals/change_picture_modal.tpl
@@ -20,11 +20,11 @@
 </div>
 
 <div class="btn-group btn-group-justified" role="group">
-	<!-- IF config.allowProfileImageUploads -->
+	<!-- IF allowProfileImageUploads -->
 	<div class="btn-group" role="group">
 		<button type="button" class="btn btn-default" data-action="upload">[[user:upload_new_picture]]</button>
 	</div>
-	<!-- ENDIF config.allowProfileImageUploads -->
+	<!-- ENDIF allowProfileImageUploads -->
 	<!-- IF config.hasImageUploadPlugin -->
 	<div class="btn-group" role="group">
 		<button type="button" class="btn btn-default" data-action="upload-url">[[user:upload_new_picture_from_url]]</button>