Rename all models

This commit is contained in:
Frederic Guillot
2016-05-28 19:48:22 -04:00
parent 936376ffe7
commit 14713b0ec7
411 changed files with 4145 additions and 4156 deletions

View File

@@ -3,7 +3,7 @@
namespace Kanboard\Filter;
use Kanboard\Core\Filter\FilterInterface;
use Kanboard\Model\Project;
use Kanboard\Model\ProjectModel;
/**
* Filter project by ids
@@ -33,9 +33,9 @@ class ProjectIdsFilter extends BaseFilter implements FilterInterface
public function apply()
{
if (empty($this->value)) {
$this->query->eq(Project::TABLE.'.id', 0);
$this->query->eq(ProjectModel::TABLE.'.id', 0);
} else {
$this->query->in(Project::TABLE.'.id', $this->value);
$this->query->in(ProjectModel::TABLE.'.id', $this->value);
}
return $this;