summaryrefslogtreecommitdiff
path: root/plugins/Imap
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2010-01-10 01:46:39 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2010-01-10 01:46:39 +0100
commit0c4dbf158812da899ffe7969e0f2287bfc15ec5e (patch)
treed7bb7fc9ff0793b39cb8fec018f53c4c11434630 /plugins/Imap
parentb0aea3f9c1cf9a6402bcb2751ac767445103a70b (diff)
parenta07d8dab256d7841c3695267bdfe7540a0ced4d7 (diff)
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
Diffstat (limited to 'plugins/Imap')
-rw-r--r--plugins/Imap/ImapPlugin.php11
-rwxr-xr-xplugins/Imap/imapdaemon.php2
2 files changed, 12 insertions, 1 deletions
diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php
index 034444222..d9768b680 100644
--- a/plugins/Imap/ImapPlugin.php
+++ b/plugins/Imap/ImapPlugin.php
@@ -82,4 +82,15 @@ class ImapPlugin extends Plugin
}
return true;
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'IMAP',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Craig Andrews',
+ 'homepage' => 'http://status.net/wiki/Plugin:IMAP',
+ 'rawdescription' =>
+ _m('The IMAP plugin allows for StatusNet to check a POP or IMAP mailbox for incoming mail containing user posts.'));
+ return true;
+ }
}
diff --git a/plugins/Imap/imapdaemon.php b/plugins/Imap/imapdaemon.php
index a45c603ce..7e60e1376 100755
--- a/plugins/Imap/imapdaemon.php
+++ b/plugins/Imap/imapdaemon.php
@@ -117,7 +117,7 @@ class IMAPMailHandler extends MailHandler
{
$this->log(LOG_INFO, "Error: $from $msg");
$headers['To'] = $from;
- $headers['Subject'] = "Error";
+ $headers['Subject'] = _m('Error');
return mail_send(array($from), $headers, $msg);
}