1
0
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:
Cameron
2018-06-05 12:55:20 -07:00
parent 33f8b885fe
commit a1469aad5e
6 changed files with 53 additions and 4 deletions

View File

@@ -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