Skip to content
This repository
Browse code

fix uncaught syntax error in sql

  • Loading branch information...
commit 1408087423916ae4718f545f4a39803281def970 1 parent eaf62ca
Lincoln Stein lstein authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 bin/gbrowse_clean.pl
4 bin/gbrowse_clean.pl
@@ -119,7 +119,7 @@
119 119 # Traverse desired filesystems
120 120 logit("Deleting cache files and directories...");
121 121 File::Find::finddepth( {wanted=>$wanted}, $tmpdir);
122   -logit("Deleting unused user uploads olderthan $uploads_secs seconds (see \"expire uploads\" option in GBrowse.conf)...");
  122 +logit("Deleting unused user uploads older than $uploads_secs seconds (see \"expire uploads\" option in GBrowse.conf)...");
123 123 File::Find::finddepth( {wanted=>$wanted}, $user_dir);
124 124 logit("Deleted $directories directories and $files files.\n");
125 125 if ($uploads_db) {
@@ -134,7 +134,7 @@ sub clean_uploads {
134 134 eval {require DBI; 1} or return;
135 135
136 136 my $db = DBI->connect($globals->user_account_db) or return;
137   - my $query = $db->prepare('select uploadsid,data_source,path,$trackid from uploads,session where uploads.userid=session.userid') or return;
  137 + my $query = $db->prepare('select uploadsid,data_source,path,trackid from uploads,session where uploads.userid=session.userid') or return;
138 138 $query->execute or return;
139 139
140 140 my %flag_for_deletion;

0 comments on commit 1408087

Please sign in to comment.
Something went wrong with that request. Please try again.