fixed double serialisation of times and data (leftover from old code)

Thanks alpe for the notice
This commit is contained in:
Ralf Becker 2004-08-01 17:19:47 +00:00
parent 8ea4f68715
commit d4167b6c44

View File

@ -515,11 +515,6 @@
*/
function write($job,$exists = False)
{
$job['times'] = $this->db->db_addslashes(serialize($job['times']));
$job['data'] = $this->db->db_addslashes(serialize($job['data']));
$job['next'] = (int)$job['next'];
$job['account_id'] = (int)$job['account_id'];
$data = array(
'async_next' => $job['next'],
'async_times' => serialize($job['times']),