summaryrefslogtreecommitdiff
path: root/plugins/kolab_activesync
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-06 07:19:26 (GMT)
committerAleksander Machniak <alec@alec.pl>2014-10-06 07:19:26 (GMT)
commit77d34666389d38033b03dd35cc803296649abc70 (patch)
treeac05945351b43158f775942c00e84bf2af03caef /plugins/kolab_activesync
parent48df8c34f9f48c185e340d5a52870e8d38ea1d84 (diff)
downloadroundcubemail-plugins-kolab-77d34666389d38033b03dd35cc803296649abc70.tar.gz
Get rid of deprecated function aliases and constants usage
Diffstat (limited to 'plugins/kolab_activesync')
-rw-r--r--plugins/kolab_activesync/kolab_activesync.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/kolab_activesync/kolab_activesync.php b/plugins/kolab_activesync/kolab_activesync.php
index dc36383..b28e7cd 100644
--- a/plugins/kolab_activesync/kolab_activesync.php
+++ b/plugins/kolab_activesync/kolab_activesync.php
@@ -123,15 +123,15 @@ class kolab_activesync extends rcube_plugin
*/
public function json_command()
{
- $cmd = get_input_value('cmd', RCUBE_INPUT_POST);
- $imei = get_input_value('id', RCUBE_INPUT_POST);
+ $cmd = rcube_utils::get_input_value('cmd', rcube_utils::INPUT_POST);
+ $imei = rcube_utils::get_input_value('id', rcube_utils::INPUT_POST);
switch ($cmd) {
case 'save':
$devices = $this->list_devices();
$device = $devices[$imei];
- $subscriptions = (array) get_input_value('subscribed', RCUBE_INPUT_POST);
- $devicealias = get_input_value('devicealias', RCUBE_INPUT_POST, true);
+ $subscriptions = (array) rcube_utils::get_input_value('subscribed', rcube_utils::INPUT_POST);
+ $devicealias = rcube_utils::get_input_value('devicealias', rcube_utils::INPUT_POST, true);
$device['ALIAS'] = $devicealias;
$err = !$this->device_update($device, $imei);
@@ -173,8 +173,8 @@ class kolab_activesync extends rcube_plugin
break;
case 'update':
- $subscription = (int) get_input_value('flag', RCUBE_INPUT_POST);
- $folder = get_input_value('folder', RCUBE_INPUT_POST);
+ $subscription = (int) rcube_utils::get_input_value('flag', rcube_utils::INPUT_POST);
+ $folder = rcube_utils::get_input_value('folder', rcube_utils::INPUT_POST);
$err = !$this->folder_set($folder, $imei, $subscription);
@@ -233,7 +233,7 @@ class kolab_activesync extends rcube_plugin
$this->register_handler('plugin.deviceconfigform', array($this->ui, 'device_config_form'));
$this->register_handler('plugin.foldersubscriptions', array($this->ui, 'folder_subscriptions'));
- $imei = get_input_value('_id', RCUBE_INPUT_GPC);
+ $imei = rcube_utils::get_input_value('_id', rcube_utils::INPUT_GPC);
$devices = $this->list_devices();
if ($device = $devices[$imei]) {