diff --git a/github-api.php b/github-api.php index aae9d27..5e41521 100644 --- a/github-api.php +++ b/github-api.php @@ -185,7 +185,6 @@ class github_api { $this->log( "get_user( $user )", GEDEBUG_CALL ); $user = trim( $user, '/' ); - $repository = trim( $repository, '/' ); $results = $this->call_api( "https://api.github.com/users/$user" );