mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Tweak e_user.php
This commit is contained in:
@@ -26,16 +26,17 @@ class _blank_user // plugin-folder + '_user'
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Experimental and subject to change without notice.
|
* Experimental and subject to change without notice.
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
function delete()
|
function delete()
|
||||||
{
|
{
|
||||||
|
|
||||||
$config['user'] = array(
|
$config['user'] = array(
|
||||||
'user_name' => 'Deleted User',
|
'user_id' => '[primary]',
|
||||||
'user_loginname' => '',
|
'user_name' => '[unique]',
|
||||||
'user_email' => '',
|
'user_loginname' => '[unique]',
|
||||||
|
'user_email' => '[unique]',
|
||||||
'user_ip' => '',
|
'user_ip' => '',
|
||||||
// etc.
|
// etc.
|
||||||
'WHERE' => 'user_id = '.USERID,
|
'WHERE' => 'user_id = '.USERID,
|
||||||
|
Reference in New Issue
Block a user