mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 21:57:34 +02:00
Code cleanup
This commit is contained in:
@@ -84,10 +84,10 @@ class adminDownload extends download
|
||||
// {
|
||||
// $this->_observe_newsCommentsRecalc();
|
||||
// }
|
||||
if(isset($_POST['etrigger_ecolumns']))
|
||||
{
|
||||
//if(isset($_POST['etrigger_ecolumns']))
|
||||
//{
|
||||
// $this->_observe_saveColumns();
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
@@ -166,10 +166,10 @@ class download
|
||||
|
||||
|
||||
|
||||
if($this->qry['action'] == 'maincats')
|
||||
{
|
||||
//if($this->qry['action'] == 'maincats')
|
||||
// {
|
||||
//
|
||||
}
|
||||
// }
|
||||
|
||||
if($this->qry['action'] == 'list')
|
||||
{
|
||||
@@ -186,15 +186,15 @@ class download
|
||||
$this->loadReport();
|
||||
}
|
||||
|
||||
if($this->qry['action'] == 'mirror')
|
||||
{
|
||||
//if($this->qry['action'] == 'mirror')
|
||||
// {
|
||||
//
|
||||
}
|
||||
// }
|
||||
|
||||
if($this->qry['action'] == 'error')
|
||||
{
|
||||
// if($this->qry['action'] == 'error')
|
||||
// {
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
@@ -720,11 +720,11 @@ class download
|
||||
return $ns->tablerender(LAN_PLUGIN_DOWNLOAD_NAME, "<div class='alert alert-info' style='text-align:center'>".LAN_NO_RECORDS_FOUND."</div>",'download-list',true);
|
||||
}
|
||||
|
||||
if ($dlrow['download_category_parent'] == 0) // It's a main category - change the listing type required
|
||||
{
|
||||
//if ($dlrow['download_category_parent'] == 0) // It's a main category - change the listing type required
|
||||
// {
|
||||
// $action = 'maincats';
|
||||
// $maincatval = $id;
|
||||
}
|
||||
// }
|
||||
|
||||
$dl_text = $tp->parseTemplate($this->templateHeader, TRUE, $sc);
|
||||
|
||||
|
Reference in New Issue
Block a user