diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-22 05:35:21 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-22 05:35:21 -0700 |
commit | 05275e2c07549ae9c40e647154fa442d796918b8 (patch) | |
tree | cf287cfb40ce35b9dc7cb8de2d073be0ed788f94 /modules/exif/helpers | |
parent | dd31b1d39f9a342afc82cc7e446e36454a882cf9 (diff) | |
parent | 22296907b77a00aa28e174b6e0231faed7c10fcd (diff) |
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/exif/helpers')
-rw-r--r-- | modules/exif/helpers/exif_event.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/exif/helpers/exif_event.php b/modules/exif/helpers/exif_event.php index 826ec959..81ac5f44 100644 --- a/modules/exif/helpers/exif_event.php +++ b/modules/exif/helpers/exif_event.php @@ -18,6 +18,14 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class exif_event_Core { + static function gallery_ready() { + if (!function_exists("gettext")) { + function gettext($message) { + return (string) t($message); + } + } + } + static function item_created($item) { if (!$item->is_album()) { exif::extract($item); |