From 590a4677f34f866911fa6c0902130f8dbea7421a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 15 Feb 2009 08:08:22 +0000 Subject: Tweak EXIF extraction code to be more robust. * Create Exif_Record_Model to track whether we've scanned the EXIF data for this photo or not. This allows us to track photos that don't have EXIF data (and won't have any Exif_Keys) * Blow away old Exif_Keys when extracting, else we hit unique index constraints. * exif::_get_stats() -- before it was running the task forever --- modules/exif/models/exif_record.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/exif/models/exif_record.php (limited to 'modules/exif/models') diff --git a/modules/exif/models/exif_record.php b/modules/exif/models/exif_record.php new file mode 100644 index 00000000..380b3799 --- /dev/null +++ b/modules/exif/models/exif_record.php @@ -0,0 +1,21 @@ +