summaryrefslogtreecommitdiff
path: root/modules/exif/helpers/exif_event.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-22 06:56:28 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-22 06:56:28 -0700
commitbf93473de529fc20ecb774e4f1ef5ca521f6a3b0 (patch)
tree3e90fb120c59146d4a1e3064091fdf9c6186247c /modules/exif/helpers/exif_event.php
parent22296907b77a00aa28e174b6e0231faed7c10fcd (diff)
Revert "Change the exif module to respond to the gallery_ready event and check to see if gettext is installed. The 3rd party library used in the exif module expects gettext to be available. Rather than doing all the time use the gallery ready event to only do it when it might be needed. Fixes ticket #672"
This reverts commit 33690a32bcf132e5ab470ff77ba23c073ac26271.
Diffstat (limited to 'modules/exif/helpers/exif_event.php')
-rw-r--r--modules/exif/helpers/exif_event.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/exif/helpers/exif_event.php b/modules/exif/helpers/exif_event.php
index 81ac5f44..826ec959 100644
--- a/modules/exif/helpers/exif_event.php
+++ b/modules/exif/helpers/exif_event.php
@@ -18,14 +18,6 @@
* 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);