1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 04:10:38 +02:00

Experimental e_user.php code added.

This commit is contained in:
Cameron
2018-05-24 13:05:43 -07:00
parent 429413093e
commit 171a914acf

View File

@@ -25,16 +25,29 @@ class _blank_user // plugin-folder + '_user'
}
function fields()
/**
* Experimental and subject to change without notice.
* @return mixed
*/
function delete()
{
$fields = array(
$config['user'] = array(
'user_name' => 'Deleted User',
'user_loginname' => '',
'user_email' => '',
'user_ip' => '',
// etc.
'WHERE' => 'user_id = '.USERID,
'MODE' => 'update'
);
$config['user_extended'] = array(
'WHERE' => 'user_extended_id = '.USERID,
'MODE' => 'delete'
);
return $config;
}