Skip to content

Commit

Permalink
Drop commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jul 12, 2013
1 parent 961a8c7 commit 840d854
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions administrator/components/com_patchtester/controllers/pull.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// No direct access
defined('_JEXEC') or die;

jimport('joomla.application.component.controllerform');

/**
* Pull controller class
*
Expand Down
2 changes: 0 additions & 2 deletions administrator/components/com_patchtester/models/pull.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ protected function parsePatch($patch)
public function apply($id)
{
jimport('joomla.filesystem.file');
//@todo Use the JCurl class
// require_once JPATH_COMPONENT_ADMINISTRATOR . '/helpers/curl.php';

$table = JTable::getInstance('tests', 'PatchTesterTable');
$github = new JGithub;
Expand Down
6 changes: 0 additions & 6 deletions administrator/components/com_patchtester/models/pulls.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,8 @@ public function sortItems($a, $b)

public function getTotal()
{
// $g = new PtGithub;

//$repo = $g->repos->get('joomla', 'joomla-cms');

return PTGithub::getInstance()
->repos->get('joomla', 'joomla-cms')
->open_issues_count;

//return $repo->open_issues_count;
}
}
3 changes: 0 additions & 3 deletions administrator/components/com_patchtester/patchtester.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}

// Include dependencies
//jimport('joomla.application.component.controller');

JLoader::registerPrefix('PT', __DIR__.'/helpers');

$controller = JControllerLegacy::getInstance('PatchTester');
Expand Down

0 comments on commit 840d854

Please sign in to comment.