Minor code improvements
This commit is contained in:
@@ -4,7 +4,6 @@ namespace Kanboard\Model;
|
||||
|
||||
use Kanboard\Core\Translator;
|
||||
use Kanboard\Core\Security\Token;
|
||||
use Kanboard\Core\Session\SessionManager;
|
||||
|
||||
/**
|
||||
* Config model
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
|
||||
namespace Kanboard\Model;
|
||||
|
||||
use SimpleValidator\Validator;
|
||||
use SimpleValidator\Validators;
|
||||
|
||||
/**
|
||||
* Group Model
|
||||
*
|
||||
|
||||
@@ -28,7 +28,7 @@ class ProjectUserRole extends Base
|
||||
*/
|
||||
public function getActiveProjectsByUser($user_id)
|
||||
{
|
||||
return $this->getProjectsByUser($user_id, $status = array(Project::ACTIVE));
|
||||
return $this->getProjectsByUser($user_id, array(Project::ACTIVE));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user