From f67780c461f4260db898151cb3bf7dac1e6da527 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 16 Apr 2013 09:57:38 +1200 Subject: [PATCH] Fix typo. --- scripts/archive-old-events.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/archive-old-events.php b/scripts/archive-old-events.php index 662b1931..b51b7f8b 100755 --- a/scripts/archive-old-events.php +++ b/scripts/archive-old-events.php @@ -191,7 +191,7 @@ EOSQL; $qry->QDo($sql, $sqlargs); // Delete the sync tokens... - $sql = 'DELETE FROM sync_token WHERE collection_id IN (:source_id, :archive_id)'; + $sql = 'DELETE FROM sync_tokens WHERE collection_id IN (:source_id, :archive_id)'; $qry->QDo($sql, $sqlargs); // Delete the sync_changes... @@ -204,4 +204,4 @@ EOSQL; $cache->delete( $cache_ns, null ); $cache_ns = 'collection-'.preg_replace( '{/[^/]*$}', '/', $collection_archive); $cache->delete( $cache_ns, null ); -} \ No newline at end of file +}