diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-13 22:19:17 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-13 22:19:17 -0400 |
commit | 9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 (patch) | |
tree | c58789631d8f729dca8dbbf4108670e567dc25b4 /app/Model/Action.php | |
parent | 7bfa38d93c7342fc5dc04722e7bc282f165b8cd4 (diff) |
Change namespace to add Kanboard as prefix
Diffstat (limited to 'app/Model/Action.php')
-rw-r--r-- | app/Model/Action.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php index 57bd5b0d..b48e3ae3 100644 --- a/app/Model/Action.php +++ b/app/Model/Action.php @@ -1,10 +1,10 @@ <?php -namespace Model; +namespace Kanboard\Model; -use Integration\GitlabWebhook; -use Integration\GithubWebhook; -use Integration\BitbucketWebhook; +use Kanboard\Integration\GitlabWebhook; +use Kanboard\Integration\GithubWebhook; +use Kanboard\Integration\BitbucketWebhook; use SimpleValidator\Validator; use SimpleValidator\Validators; @@ -320,7 +320,7 @@ class Action extends Base */ public function load($name, $project_id, $event) { - $className = $name{0} !== '\\' ? '\Action\\'.$name : $name; + $className = $name{0} !== '\\' ? '\Kanboard\Action\\'.$name : $name; return new $className($this->container, $project_id, $event); } |