mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14168] Coding guidelines fixes
PHPBB3-14168
This commit is contained in:
parent
e158db5daa
commit
cebc064f4c
1 changed files with 4 additions and 4 deletions
|
@ -216,20 +216,20 @@ class delete
|
||||||
case 'message':
|
case 'message':
|
||||||
$this->sql_id = 'post_msg_id';
|
$this->sql_id = 'post_msg_id';
|
||||||
$this->sql_where = ' AND in_message = ' . ($mode == 'message' ? 1 : 0);
|
$this->sql_where = ' AND in_message = ' . ($mode == 'message' ? 1 : 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'topic':
|
case 'topic':
|
||||||
$this->sql_id = 'topic_id';
|
$this->sql_id = 'topic_id';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'user':
|
case 'user':
|
||||||
$this->sql_id = 'poster_id';
|
$this->sql_id = 'poster_id';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'attach':
|
case 'attach':
|
||||||
default:
|
default:
|
||||||
$this->sql_id = 'attach_id';
|
$this->sql_id = 'attach_id';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue