establishConnection('w'); queryfx( $conn_w, 'DELETE FROM %T WHERE cacheCreated < %d ORDER BY cacheCreated ASC LIMIT 100', $cache->getTableName(), time() - $ttl); return ($conn_w->getAffectedRows() == 100); } }