/** * Invalidate the cache for the given paper * @param integer $paper_id ID of paper for which the cache should be invalidated */ protected function invalidate_paper_cache($paper_id) { $properties = new PaperProperties($this->_mysqli); $properties->set_property_id($paper_id); $properties->load(); $properties->set_recache_marks(1); $properties->save(); }