X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FController%2FGithub%2FRepo.php;h=ac2ce37d5916cebdb2a3fc68e8cb39f4c2fa1202;hb=917c0fd609f9d91fa6b407c4a1c853f2319eb23b;hp=32fab565a7794a3ccd4000e910cfaf4b2b87556c;hpb=187e30157e7b87797b1a9da5935a530b529b590f;p=pharext%2Fpharext.org diff --git a/app/Controller/Github/Repo.php b/app/Controller/Github/Repo.php index 32fab56..ac2ce37 100644 --- a/app/Controller/Github/Repo.php +++ b/app/Controller/Github/Repo.php @@ -32,6 +32,7 @@ class Repo extends Github settype($repo->tags, "object"); $this->github->listHooks($repo->full_name, function($hooks) use($repo) { $repo->hooks = $hooks; + $this->app->getView()->addData(["hook" => $this->checkRepoHook($repo)]); }); $this->github->listTags($repo->full_name, 1, $this->createTagsCallback($repo)); $this->github->listReleases($repo->full_name, 1, $this->createReleasesCallback($repo));