summaryrefslogtreecommitdiff
path: root/modules/exif/helpers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-09-21 18:36:41 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-09-21 18:36:41 -0700
commit218493c50be9362d4abed6900a816308fee5d978 (patch)
tree15c2bfc649c889984019405c602a60b35591c937 /modules/exif/helpers
parentd92c5a8a845baefc31743330f0a348a6f0c0c4fd (diff)
parent33690a32bcf132e5ab470ff77ba23c073ac26271 (diff)
Merge commit 'upstream/master'
Diffstat (limited to 'modules/exif/helpers')
-rw-r--r--modules/exif/helpers/exif_event.php8
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);