Merge branch 'dev'

This commit is contained in:
Claude 2015-09-29 10:35:24 +02:00
commit 26dbfe0789

View File

@ -901,6 +901,7 @@ class Pastes extends CI_Model
function cron() function cron()
{ {
$now = now(); $now = now();
$this->db->select('pid,expire');
$this->db->where('toexpire', '1'); $this->db->where('toexpire', '1');
$query = $this->db->get('pastes'); $query = $this->db->get('pastes');
foreach ($query->result_array() as $row) foreach ($query->result_array() as $row)