Joas Schilling
1943de36f3
[feature/soft-delete] Comment out user_posts update for the moment
...
It should rely on the permissions of the post not the current user.
PHPBB3-9657
2012-10-01 16:25:05 +02:00
Joas Schilling
e5377e98c7
[feature/soft-delete] Allow setting the visibility change reason
...
PHPBB3-9657
2012-09-28 16:53:38 +02:00
Joas Schilling
8b2181eb85
[feature/soft-delete] Comment out stuff about f_restore for performance reason
...
PHPBB3-9657
2012-09-28 16:14:44 +02:00
Joas Schilling
1c043254c0
[feature/soft-delete] Add get_visibility_sql_forums based on global
...
The resulting query is 4-times faster, as the forum_id IN () arrays are
smaller and we need less AND/OR to build the hole query. The main difference
between those two functions is, that this one takes an array of included ids and
the _global one takes an array of excluded ids.
PHPBB3-9657
2012-08-30 18:07:00 +02:00
Joas Schilling
a1e0690b6b
[feature/soft-delete] Simplification part2: user can see all item visibilities
...
If the user can see all visibilities, we can simply leave out the query part,
instead of adding a bunch of ANDs.
PHPBB3-9657
2012-08-29 22:12:33 +02:00
Joas Schilling
44ed05f567
[feature/soft-delete] Simplify the query output if the user has m_restore
...
PHPBB3-9657
2012-08-29 19:30:33 +02:00
Joas Schilling
5ff35ccf72
[feature/soft-delete] Use autoloading for content_visibility class
...
PHPBB3-9657
2012-08-29 17:50:12 +02:00