]> git.imager.perl.org - bse.git/commitdiff
don't check paidFor in the SQL, the caller does that based on config
authorTony Cook <tony@develop-help.com>
Sun, 12 Jun 2011 07:20:57 +0000 (17:20 +1000)
committerTony Cook <tony@develop-help.com>
Sun, 12 Jun 2011 07:20:57 +0000 (17:20 +1000)
site/data/db/sql_statements.data

index 8eb7b87ef976546e7a0c5e0ba88a002f1271f5ec..be656aca0303d5704f901fc7ae97724fdca50d71 100644 (file)
@@ -437,7 +437,6 @@ from article_files af, order_item oi, orders od
 where af.id = ?
   and af.articleId = oi.productId
   and oi.orderId = od.id
-  and od.paidFor <> 0
   and od.siteuser_id = ?
 SQL