projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add logging; fix caching
[pharext/pharext.org]
/
app
/
Controller
/
Github
/
Index.php
diff --git
a/app/Controller/Github/Index.php
b/app/Controller/Github/Index.php
index 935f249e3fa6e0238f8881c2d31d2bae694622be..c0838b7912af788da3fe83c9a276804b617d0818 100644
(file)
--- a/
app/Controller/Github/Index.php
+++ b/
app/Controller/Github/Index.php
@@
-8,7
+8,7
@@
class Index extends Github
{
function __invoke(array $args = null) {
if ($this->checkToken()) {
{
function __invoke(array $args = null) {
if ($this->checkToken()) {
- $this->github->
fetch
Repos(
+ $this->github->
list
Repos(
$this->app->getRequest()->getQuery("page"),
[$this, "reposCallback"]
)->send();
$this->app->getRequest()->getQuery("page"),
[$this, "reposCallback"]
)->send();
@@
-20,7
+20,7
@@
class Index extends Github
$this->app->getView()->addData(compact("repos", "links"));
foreach ($repos as $repo) {
$this->app->getView()->addData(compact("repos", "links"));
foreach ($repos as $repo) {
- $this->github->
fetch
Hooks($repo->full_name, function($hooks) use($repo) {
+ $this->github->
list
Hooks($repo->full_name, function($hooks) use($repo) {
$repo->hooks = $hooks;
});
}
$repo->hooks = $hooks;
});
}