title: Zend Db Table delete() not working properly
body: <p>I have the following code: </p>
  
  <pre><code>$time = 60 * 60 * 24 * 3;
  
  $usersTable = new Application_Model_Db_Users();
  
  $where = 'active = false AND registration_time &lt; ' . time() - $time;
  $usersTable-&gt;delete($where);
  </code></pre>
  
  <p>But when it is run it deletes all the rows in the table, where as when I run</p>
  
  <pre><code>DELETE FROM users
  WHERE active = false
  AND registration_time &lt; 1290500000
  </code></pre>
  
  <p>Only the ones that match the criteria are deleted. What is the problem?</p>