- function repoCallback($repo, $links) {
- $this->app->getView()->addData(compact("repo"));
- settype($repo->tags, "object");
- $this->github->fetchTags($repo->full_name, 1, $this->createTagsCallback($repo));
- $this->github->fetchReleases($repo->full_name, 1, $this->createReleasesCallback($repo));
- }
+ $this->app->getView()->addData(compact("owner", "name", "repo", "hook"));
+ });
+ $this->github->drain();
+ }