31
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-06-01 13:20:46 +00:00

Drop commented code

This commit is contained in:
Michael Babker 2013-07-11 21:09:41 -05:00
parent 961a8c7a35
commit 840d85435a
4 changed files with 0 additions and 13 deletions

View File

@ -8,8 +8,6 @@
// No direct access
defined('_JEXEC') or die;
jimport('joomla.application.component.controllerform');
/**
* Pull controller class
*

View File

@ -117,8 +117,6 @@ class PatchtesterModelPull extends JModelLegacy
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;

View File

@ -188,14 +188,8 @@ class PatchtesterModelPulls extends JModelList
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;
}
}

View File

@ -15,9 +15,6 @@ if (!JFactory::getUser()->authorise('core.manage', 'com_patchtester'))
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
}
// Include dependencies
//jimport('joomla.application.component.controller');
JLoader::registerPrefix('PT', __DIR__.'/helpers');
$controller = JControllerLegacy::getInstance('PatchTester');