1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Issue #4283 - Update deprecated sql method usage. Removed old code.

This commit is contained in:
Cameron
2020-12-17 05:52:54 -08:00
parent 8c0e2c0392
commit 42f0e902d4
42 changed files with 76 additions and 3627 deletions

View File

@@ -245,15 +245,6 @@ function PreFile_Select($formid='prefile_selector')
$filelist = array();
$downloadList = array();
/*$sql->db_Select('download', '*', 'download_class != '.e_UC_NOBODY);
while ($row = $sql->db_Fetch()) {
extract($row);
if($download_url)
{
$filelist[] = array('id' => $download_id, 'name' => $download_name, 'url' => $download_url, 'class' => $download_class);
$downloadList[] = $download_url;
}
}*/
$tmp = $fl->get_files(e_FILE.'downloads/');
foreach($tmp as $value)