Changeset 21658 for extensions/SmartAlbums/include/functions.inc.php
- Timestamp:
- Mar 17, 2013, 8:32:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/include/functions.inc.php
r19722 r21658 52 52 53 53 $query = ' 54 UPDATE '.CATEGOR IES_TABLE.'55 SET smart_update= NOW()56 WHERE id = '.$cat_id.'54 UPDATE '.CATEGORY_FILTERS_TABLE.' 55 SET updated = NOW() 56 WHERE category_id = '.$cat_id.' 57 57 ;'; 58 58 pwg_query($query); … … 689 689 INNER JOIN '.CATEGORY_FILTERS_TABLE.' AS cf 690 690 ON c.id = cf.category_id 691 WHERE smart_update< DATE_SUB(NOW(), INTERVAL '.$conf['SmartAlbums']['update_timeout'].' DAY)691 WHERE updated < DATE_SUB(NOW(), INTERVAL '.$conf['SmartAlbums']['update_timeout'].' DAY) 692 692 ;'; 693 693
Note: See TracChangeset
for help on using the changeset viewer.