summaryrefslogtreecommitdiffstats
path: root/application/views/user/profile.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-08-23 21:02:59 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-08-23 21:03:40 +0200
commiteb58c6d16b5dbaf9c9b0ec2536305f006f5107c2 (patch)
treeb3a952ea97d113461f090d88fbfc11a928cddaba /application/views/user/profile.php
parente8ba604abcf1a861d550f78b629f81ef1a76bf1c (diff)
Only show account deletion link if supported
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/profile.php')
-rw-r--r--application/views/user/profile.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
index 1aa22ec10..fbd29f474 100644
--- a/application/views/user/profile.php
+++ b/application/views/user/profile.php
@@ -41,6 +41,8 @@
<div class="row vertical-space-small"></div>
+<?php if(auth_driver_function_implemented("can_delete_account")) { ?>
<div class="row">
<p>If you want to permanently delete your account, please click <a href="<?php echo site_url("user/delete_account"); ?>">here</a>.</p>
</div>
+<?php } ?>