From 61be822d62ea245b7f54ad313f49a956ab49076d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 18 Jan 2013 09:24:49 -0500
Subject: [PATCH] Remove deprecated functions (from bc.php file) usage in plugins
---
plugins/userinfo/userinfo.php | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/plugins/userinfo/userinfo.php b/plugins/userinfo/userinfo.php
index efb65f5..a175563 100644
--- a/plugins/userinfo/userinfo.php
+++ b/plugins/userinfo/userinfo.php
@@ -31,25 +31,25 @@
$table = new html_table(array('cols' => 2, 'cellpadding' => 3));
$table->add('title', 'ID');
- $table->add('', Q($user->ID));
+ $table->add('', rcube::Q($user->ID));
- $table->add('title', Q($this->gettext('username')));
- $table->add('', Q($user->data['username']));
+ $table->add('title', rcube::Q($this->gettext('username')));
+ $table->add('', rcube::Q($user->data['username']));
- $table->add('title', Q($this->gettext('server')));
- $table->add('', Q($user->data['mail_host']));
+ $table->add('title', rcube::Q($this->gettext('server')));
+ $table->add('', rcube::Q($user->data['mail_host']));
- $table->add('title', Q($this->gettext('created')));
- $table->add('', Q($user->data['created']));
+ $table->add('title', rcube::Q($this->gettext('created')));
+ $table->add('', rcube::Q($user->data['created']));
- $table->add('title', Q($this->gettext('lastlogin')));
- $table->add('', Q($user->data['last_login']));
+ $table->add('title', rcube::Q($this->gettext('lastlogin')));
+ $table->add('', rcube::Q($user->data['last_login']));
$identity = $user->get_identity();
- $table->add('title', Q($this->gettext('defaultidentity')));
- $table->add('', Q($identity['name'] . ' <' . $identity['email'] . '>'));
+ $table->add('title', rcube::Q($this->gettext('defaultidentity')));
+ $table->add('', rcube::Q($identity['name'] . ' <' . $identity['email'] . '>'));
- return html::tag('h4', null, Q('Infos for ' . $user->get_username())) . $table->show();
+ return html::tag('h4', null, rcube::Q('Infos for ' . $user->get_username())) . $table->show();
}
}
--
Gitblit v1.9.1