chg: remove duplicate array key

pull/1570/head
Andreas Ziegler 2016-09-25 21:43:04 +02:00
parent 15dd363a9c
commit 84de6442f7
1 changed files with 0 additions and 4 deletions

View File

@ -184,10 +184,6 @@ class ThreadsController extends AppController {
if (!$this->_isSiteAdmin()) {
$conditions['AND']['OR'] = array(
'Thread.distribution' => array(1, 2, 3),
'AND' => array(
'Thread.distribution' => 0,
'Thread.org_id' => $this->Auth->user('org_id'),
),
'AND' => array(
'Thread.distribution' => 4,
'Thread.sharing_group_id' => $sgids,