Author: jfthomps
Date: Fri Nov 16 16:35:01 2012
New Revision: 1410443

URL: http://svn.apache.org/viewvc?rev=1410443&view=rev
Log:
VCL-631
imagerevision.datedeleted not getting set

images.php: modified AJdeleteRevisions - added updating datedeleted to query

Modified:
    vcl/trunk/web/.ht-inc/images.php

Modified: vcl/trunk/web/.ht-inc/images.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/images.php?rev=1410443&r1=1410442&r2=1410443&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/images.php (original)
+++ vcl/trunk/web/.ht-inc/images.php Fri Nov 16 16:35:01 2012
@@ -4136,7 +4136,8 @@ function AJdeleteRevisions() {
                }
        }
        $query = "UPDATE imagerevision "
-              . "SET deleted = 1 "
+              . "SET deleted = 1, "
+              .     "datedeleted = NOW() "
               . "WHERE id IN ($checkedids) "
               .   "AND production != 1";
        doQuery($query, 101);


Reply via email to