1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-18 19:55:12 -08:00
parent 2b8a3cff60
commit 5b82c292b1
80 changed files with 1888 additions and 1731 deletions

View File

@@ -1223,10 +1223,10 @@ function update_706_to_800($type='')
// catch_error($sql);
}
}
else
{
// else
// {
// Got a strange error here
}
// }
}
}
@@ -1650,10 +1650,10 @@ function update_706_to_800($type='')
$med->import('page',e_IMAGE.'custom');
}
else
{
// else
// {
// $log->addDebug("Media COUNT was ".$count. " LINE: ".__LINE__);
}
// }
// Check for Legacy Download Images.
@@ -1735,12 +1735,14 @@ function update_706_to_800($type='')
(0, '_icon', '_icon_48', 'Icons 48px', 'Available where icons are used in admin. ', 253, '', 0),
(0, '_icon', '_icon_64', 'Icons 64px', 'Available where icons are used in admin. ', 253, '', 0);
";
if(!$sql->gen($query))
{
$sql->gen($query);
// if(!$sql->gen($query))
// {
// echo "mysyql error";
// error or already exists.
}
// }
$med->importIcons(e_PLUGIN);
$med->importIcons(e_IMAGE."icons/");