mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch '3.1.x'
This commit is contained in:
commit
34b768cfaf
1 changed files with 25 additions and 0 deletions
|
@ -226,6 +226,31 @@ class mcp_main
|
|||
break;
|
||||
|
||||
default:
|
||||
if ($quickmod)
|
||||
{
|
||||
switch ($action)
|
||||
{
|
||||
case 'lock':
|
||||
case 'unlock':
|
||||
case 'make_announce':
|
||||
case 'make_sticky':
|
||||
case 'make_global':
|
||||
case 'make_normal':
|
||||
case 'make_onindex':
|
||||
case 'move':
|
||||
case 'fork':
|
||||
case 'delete_topic':
|
||||
trigger_error('TOPIC_NOT_EXIST');
|
||||
break;
|
||||
|
||||
case 'lock_post':
|
||||
case 'unlock_post':
|
||||
case 'delete_post':
|
||||
trigger_error('POST_NOT_EXIST');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
trigger_error('NO_MODE', E_USER_ERROR);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue