mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/14168] Coding guidelines fixes
PHPBB3-14168
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user