Skip to content

Commit 840d854

Browse files
author
Michael Babker
committed
Drop commented code
1 parent 961a8c7 commit 840d854

File tree

4 files changed

+0
-13
lines changed

4 files changed

+0
-13
lines changed

administrator/components/com_patchtester/controllers/pull.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// No direct access
99
defined('_JEXEC') or die;
1010

11-
jimport('joomla.application.component.controllerform');
12-
1311
/**
1412
* Pull controller class
1513
*

administrator/components/com_patchtester/models/pull.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ protected function parsePatch($patch)
117117
public function apply($id)
118118
{
119119
jimport('joomla.filesystem.file');
120-
//@todo Use the JCurl class
121-
// require_once JPATH_COMPONENT_ADMINISTRATOR . '/helpers/curl.php';
122120

123121
$table = JTable::getInstance('tests', 'PatchTesterTable');
124122
$github = new JGithub;

administrator/components/com_patchtester/models/pulls.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,8 @@ public function sortItems($a, $b)
188188

189189
public function getTotal()
190190
{
191-
// $g = new PtGithub;
192-
193-
//$repo = $g->repos->get('joomla', 'joomla-cms');
194-
195191
return PTGithub::getInstance()
196192
->repos->get('joomla', 'joomla-cms')
197193
->open_issues_count;
198-
199-
//return $repo->open_issues_count;
200194
}
201195
}

administrator/components/com_patchtester/patchtester.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
return JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
1616
}
1717

18-
// Include dependencies
19-
//jimport('joomla.application.component.controller');
20-
2118
JLoader::registerPrefix('PT', __DIR__.'/helpers');
2219

2320
$controller = JControllerLegacy::getInstance('PatchTester');

0 commit comments

Comments
 (0)