Alex,
I'm rewriting the rating script to track ratings, and I noticed you do:
Links::init_date();
my $delete_by = GT::Date::date_get ( time() - 172800 ); # 2 days old
my $click_db = $DB->table ('ClickTrack');
$click_db->delete ( GT::SQL::Condition->new ( 'Created', '<', $delete_by ));.
Shouldn't that really be qualified
"WHERE ClickType = 'Rate'"
??
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ
I'm rewriting the rating script to track ratings, and I noticed you do:
Code:
## Remove old rate tracks. Links::init_date();
my $delete_by = GT::Date::date_get ( time() - 172800 ); # 2 days old
my $click_db = $DB->table ('ClickTrack');
$click_db->delete ( GT::SQL::Condition->new ( 'Created', '<', $delete_by ));
Shouldn't that really be qualified
"WHERE ClickType = 'Rate'"
??
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ