Add deletions to changelog
This commit is contained in:
@@ -248,6 +248,9 @@ elseif ($command == 'delete' && isAllowed('user',$profile,$permission,'D') === 1
|
||||
//delete equipment
|
||||
$stmt = $pdo->prepare('DELETE FROM users WHERE id = ? '.$whereclause.'');
|
||||
$stmt->execute([ $id ]);
|
||||
|
||||
//Add deletion to changelog
|
||||
changelog($dbname,'users',$id,'Delete','Delete',$username);
|
||||
} else
|
||||
{
|
||||
//do nothing
|
||||
|
||||
Reference in New Issue
Block a user