diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-21 21:29:13 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-21 21:29:13 -0700 |
commit | e5a78d39ec49332054cbc1a398d7c110e1d9191c (patch) | |
tree | c2acb4731a381b7a1b28fa5ed505a76adb23a3ef /modules/exif/helpers | |
parent | 529ded3388673036314eefd5bfb1cfc0b76f7f9e (diff) | |
parent | 33690a32bcf132e5ab470ff77ba23c073ac26271 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts:
modules/gallery/controllers/albums.php
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); |