You are here

function _recommender_updated_markdone in Recommender API 5

Same name and namespace in other branches
  1. 6 recommender.module \_recommender_updated_markdone()
1 call to _recommender_updated_markdone()
recommender_similarity_coocurrences in ./recommender.module
Co-ocurrences algorithm that compute similarity among mice based on how many cheese they share.

File

./recommender.module, line 573
Providing generic recommender system algorithms.

Code

function _recommender_updated_markdone($app_id, $max_timestamp) {
  db_query("UPDATE {recommender_updated_queue} SET status=-100 WHERE app_id=%d AND created<=%d", $app_id, $max_timestamp);
}