mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Issue #3175 GDPR work.
This commit is contained in:
@@ -69,7 +69,7 @@ class usersettings_front // Begin Usersettings rewrite.
|
||||
function __construct()
|
||||
{
|
||||
|
||||
if(deftrue('BOOTSTRAP')===3)
|
||||
if(deftrue('BOOTSTRAP'))
|
||||
{
|
||||
$template = e107::getCoreTemplate('usersettings','', true, true); // always merge
|
||||
|
||||
@@ -172,6 +172,11 @@ class usersettings_front // Begin Usersettings rewrite.
|
||||
$adminEdit = false; // @deprecated // FALSE if editing own data. TRUE if admin edit
|
||||
|
||||
|
||||
if(!empty($_POST['delete_account']))
|
||||
{
|
||||
echo e107::getMessage()->addWarning("This feature is currently under development. Your data has not been modified")->render(); // do not LAN.
|
||||
}
|
||||
|
||||
/* todo subject of removal */
|
||||
if(is_numeric(e_QUERY))
|
||||
{ // Trying to edit specific user record
|
||||
|
Reference in New Issue
Block a user