@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use MysqlUuid\Formats\Binary; |
| 5 | 5 | use MysqlUuid\Uuid; |
| 6 | 6 | use Core\Entity\ArticleType; |
| 7 | -use MysqlUuid\Formats\PlainString; |
|
| 8 | 7 | |
| 9 | 8 | class ArticleDiscussions extends AbstractMigration |
| 10 | 9 | { |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Zend\Db\Adapter\AdapterAwareInterface; |
| 8 | 8 | use Zend\Db\TableGateway\AbstractTableGateway; |
| 9 | 9 | use Zend\Db\Sql\Delete; |
| 10 | -use Zend\Db\Sql\Insert; |
|
| 11 | 10 | |
| 12 | 11 | /** |
| 13 | 12 | * Class ArticleMapper. |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return $select; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param integer $limit |
|
| 49 | + */ |
|
| 47 | 50 | public function getCategoryPostsSelect($categoryId = null, $limit = null) |
| 48 | 51 | { |
| 49 | 52 | $select = $this->getSql()->select() |