1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 16:20:13 +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

@@ -80,7 +80,10 @@ if(e_AJAX_REQUEST )
{
session_write_close();
while (@ob_end_clean());
while (ob_get_length() !== false) // destroy all ouput buffering
{
ob_end_clean();
}
if(varset($_GET['mode']) == 'backup') //FIXME - not displaying progress until complete. Use e-progress?
{
@@ -541,10 +544,11 @@ class system_tools
$mes->addError($sql->getLastErrorText());
return false;
}
else
/* else
{
// $mes->addDebug($sql_table);
}
*/
}
return true;