@@ -81,8 +81,7 @@ discard block |
||
| 81 | 81 | foreach( $manager->search( $search ) as $item ) { |
| 82 | 82 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 83 | 83 | } |
| 84 | - } |
|
| 85 | - else |
|
| 84 | + } else |
|
| 86 | 85 | { |
| 87 | 86 | $this->listTypes = array_flip( $this->listTypes ); |
| 88 | 87 | } |
@@ -141,8 +140,7 @@ discard block |
||
| 141 | 140 | $listItem = $listMap[$content][$language][$type][$listtype]; |
| 142 | 141 | $refItem = $listItem->getRefItem(); |
| 143 | 142 | unset( $listItems[$listItem->getId()] ); |
| 144 | - } |
|
| 145 | - else |
|
| 143 | + } else |
|
| 146 | 144 | { |
| 147 | 145 | $listItem = $listManager->createItem()->setType( $listtype ); |
| 148 | 146 | $refItem = $manager->createItem()->setType( $type ); |
@@ -81,8 +81,7 @@ discard block |
||
| 81 | 81 | foreach( $manager->search( $search ) as $item ) { |
| 82 | 82 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 83 | 83 | } |
| 84 | - } |
|
| 85 | - else |
|
| 84 | + } else |
|
| 86 | 85 | { |
| 87 | 86 | $this->listTypes = array_flip( $this->listTypes ); |
| 88 | 87 | } |
@@ -166,8 +165,7 @@ discard block |
||
| 166 | 165 | { |
| 167 | 166 | $listItem = $listMap[$catid][$listtype]; |
| 168 | 167 | unset( $listItems[$listItem->getId()] ); |
| 169 | - } |
|
| 170 | - else |
|
| 168 | + } else |
|
| 171 | 169 | { |
| 172 | 170 | $listItem = $listManager->createItem()->setType( $listtype ); |
| 173 | 171 | } |
@@ -81,8 +81,7 @@ discard block |
||
| 81 | 81 | foreach( $manager->search( $search ) as $item ) { |
| 82 | 82 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 83 | 83 | } |
| 84 | - } |
|
| 85 | - else |
|
| 84 | + } else |
|
| 86 | 85 | { |
| 87 | 86 | $this->listTypes = array_flip( $this->listTypes ); |
| 88 | 87 | } |
@@ -137,8 +136,7 @@ discard block |
||
| 137 | 136 | $listItem = $listMap[$content][$type][$listtype]; |
| 138 | 137 | $refItem = $listItem->getRefItem(); |
| 139 | 138 | unset( $listItems[$listItem->getId()] ); |
| 140 | - } |
|
| 141 | - else |
|
| 139 | + } else |
|
| 142 | 140 | { |
| 143 | 141 | $listItem = $listManager->createItem()->setType( $listtype ); |
| 144 | 142 | $refItem = $manager->createItem()->setType( $type ); |
@@ -81,8 +81,7 @@ |
||
| 81 | 81 | foreach( $manager->search( $search ) as $item ) { |
| 82 | 82 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 83 | 83 | } |
| 84 | - } |
|
| 85 | - else |
|
| 84 | + } else |
|
| 86 | 85 | { |
| 87 | 86 | $this->listTypes = array_flip( $this->listTypes ); |
| 88 | 87 | } |
@@ -84,8 +84,7 @@ discard block |
||
| 84 | 84 | foreach( $manager->search( $search ) as $item ) { |
| 85 | 85 | $this->listTypes[$item->getCode()] = $item->getCode(); |
| 86 | 86 | } |
| 87 | - } |
|
| 88 | - else |
|
| 87 | + } else |
|
| 89 | 88 | { |
| 90 | 89 | $this->listTypes = array_flip( $this->listTypes ); |
| 91 | 90 | } |
@@ -154,8 +153,7 @@ discard block |
||
| 154 | 153 | $listItem = $listMap[$url][$type][$listtype]; |
| 155 | 154 | $refItem = $listItem->getRefItem(); |
| 156 | 155 | unset( $listItems[$listItem->getId()] ); |
| 157 | - } |
|
| 158 | - else |
|
| 156 | + } else |
|
| 159 | 157 | { |
| 160 | 158 | $listItem = $listManager->createItem()->setType( $listtype ); |
| 161 | 159 | $refItem = $manager->createItem()->setType( $type ); |
@@ -96,8 +96,7 @@ |
||
| 96 | 96 | $files[] = $entry->getPathname(); |
| 97 | 97 | } |
| 98 | 98 | } |
| 99 | - } |
|
| 100 | - else |
|
| 99 | + } else |
|
| 101 | 100 | { |
| 102 | 101 | $files[] = $location; |
| 103 | 102 | } |