Permalink
Browse files

Update plugin list to GitHub API v3

This change should be merged back to the release-1.0 branch

Closes #140
  • Loading branch information...
sabberworm committed Oct 23, 2012
1 parent 075f6c5 commit ffe6b3b428686b4c42baebe52433089211ee0bc0
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/include-plugin.sh
@@ -14,8 +14,8 @@ if [ "$1" = "list" ]; then
<?php
require_once('base/lib/inc.php');
$aRepInfo = json_decode(file_get_contents('https://github.com/api/v2/json/organizations/rapila/public_repositories'), true);
foreach($aRepInfo['repositories'] as $aRepo) {
$aRepInfo = json_decode(file_get_contents('https://api.github.com/orgs/rapila/repos'), true);
foreach($aRepInfo as $aRepo) {
if(!StringUtil::startsWith($aRepo['name'], 'plugin-')) {
continue;
}

0 comments on commit ffe6b3b

Please sign in to comment.