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

Scheduled Tasks: Database Backup now zips up the .sql file.

This commit is contained in:
Cameron
2015-04-06 13:59:15 -07:00
parent cfd438c827
commit b6dfef6b62
4 changed files with 34 additions and 7 deletions

View File

@@ -600,6 +600,14 @@ class e_pref extends e_front_model
}
$log->addSuccess('Settings successfully saved.', ($session_messages === null || $session_messages === true));
$uid = USERID;
if(empty($uid)) // Log extra details of any pref changes made by a non-user.
{
$log->addWarning(print_r(debug_backtrace(null,2), true), false);
}
$log->save($logId);
// if(!$disallow_logs) $log->logSuccess('Settings successfully saved.', true, $session_messages)->flushMessages($logId, E_LOG_INFORMATIVE, '', $this->prefid);