From 70306a4c75ddd70eb4886496df2bee63e0b09ac4 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 20 Jun 2009 09:19:11 -0400
Subject: [PATCH] - support PEAR::Net_* in __autoload()

---
 program/include/rcube_message.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/program/include/rcube_message.php b/program/include/rcube_message.php
index ec3be4b..5c03b21 100644
--- a/program/include/rcube_message.php
+++ b/program/include/rcube_message.php
@@ -84,6 +84,9 @@
     else {
       $this->body = $this->imap->get_body($uid);
     }
+    
+    // notify plugins and let them analyze this structured message object
+    $this->app->plugins->exec_hook('message_load', array('object' => $this));
   }
   
   

--
Gitblit v1.9.1