~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to tmp/tmp.cpp

  • Committer: Teus Benschop
  • Date: 2022-08-30 18:42:32 UTC
  • Revision ID: teusjannette@gmail.com-20220830184232-a5bf5fkj14cqdx01
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
void tmp_tmp ()
29
29
{
30
30
  Database_Logs::log ("Removing expired temporal files", Filter_Roles::manager ());
31
 
  int expired = filter_date_seconds_since_epoch () - (3600 * 24 * 3);
 
31
  int expired = filter::date::seconds_since_epoch () - (3600 * 24 * 3);
32
32
  string directory = filter_url_create_root_path ({filter_url_temp_dir ()});
33
33
  vector <string> names = filter_url_scandir (directory);
34
34
  for (auto & name : names) {