[eluser]mddd[/eluser]
num_rows is to find the number of rows in a select statement.
To find the number of affected rows in 'write' type statements, use affected_rows.
This is a query you do to the database, not to the query result. So use:
Code:
$this->db->where($conditions)->delete('mytable');
return $this->db->affected_rows();