summaryrefslogtreecommitdiff
path: root/plugins/database_attachments/database_attachments.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-07-30 06:34:16 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-07-30 06:34:16 +0000
commitb0d8a8e9f535da27f8ec09df164fea3cf1a96480 (patch)
tree770bd522ff025f8d49b3131dcbb4e35f31254bb0 /plugins/database_attachments/database_attachments.php
parent009b6c1c0c9d62d338c57e53fd3a25f3cd22a50b (diff)
- Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings)
git-svn-id: https://svn.roundcube.net/trunk@3841 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/database_attachments/database_attachments.php')
-rw-r--r--plugins/database_attachments/database_attachments.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/database_attachments/database_attachments.php b/plugins/database_attachments/database_attachments.php
index a8ac62e26..919beacbf 100644
--- a/plugins/database_attachments/database_attachments.php
+++ b/plugins/database_attachments/database_attachments.php
@@ -109,19 +109,19 @@ class database_attachments extends filesystem_attachments
/**
* When composing an html message, image attachments may be shown
- * For this plugin, $this->get_attachment will check the file and
+ * For this plugin, $this->get() will check the file and
* return it's contents
*/
function display($args)
{
- return $this->get_attachment($args);
+ return $this->get($args);
}
/**
* When displaying or sending the attachment the file contents are fetched
- * using this method. This is also called by the display_attachment hook.
+ * using this method. This is also called by the attachment_display hook.
*/
- function get_attachment($args)
+ function get($args)
{
$rcmail = rcmail::get_instance();