[dbstructure 1373] Replace contact.blocked with user.blocked in owner-view
- It was falsely reporting blocked users as unblocked since we don't block the public self contact
This commit is contained in:
@@ -1574,7 +1574,7 @@ CREATE VIEW `owner-view` AS SELECT
|
||||
`contact`.`term-date` AS `term-date`,
|
||||
`contact`.`last-item` AS `last-item`,
|
||||
`contact`.`priority` AS `priority`,
|
||||
`contact`.`blocked` AS `blocked`,
|
||||
`user`.`blocked` AS `blocked`,
|
||||
`contact`.`block_reason` AS `block_reason`,
|
||||
`contact`.`readonly` AS `readonly`,
|
||||
`contact`.`writable` AS `writable`,
|
||||
|
||||
Reference in New Issue
Block a user