From 1393f9d3ff08d636234714604e070e47a2c0da12 Mon Sep 17 00:00:00 2001 From: PhilW Date: Thu, 31 Oct 2019 17:53:38 +0000 Subject: [PATCH] small CS cleanup --- swipe.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/swipe.php b/swipe.php index 6496857..995723b 100644 --- a/swipe.php +++ b/swipe.php @@ -117,7 +117,7 @@ class swipe extends rcube_plugin 'down' => $config['down'] )); $this->rcube->output->set_env('swipe_list_name', $this->actions[$this->list_type]['list_name']); - $this->rcube->output->set_env('swipe_selection_id',$this->actions[$this->list_type]['selection_id']); + $this->rcube->output->set_env('swipe_selection_id', $this->actions[$this->list_type]['selection_id']); $this->include_stylesheet($this->local_skin_path() . '/swipe.css'); $this->include_script('swipe.js'); @@ -248,10 +248,10 @@ class swipe extends rcube_plugin in_array('swipe_actions.' . $this->list_type . '.' . $direction, $this->dont_override)) { $result = false; } - else if (in_array($action, $this->disabled_actions) || in_array($this->rcube->task . $action, $this->disabled_actions)) { + elseif (in_array($action, $this->disabled_actions) || in_array($this->rcube->task . $action, $this->disabled_actions)) { $result = false; } - else if (isset($opts['plugin']) && !in_array($action, $this->laoded_plugins)) { + elseif (isset($opts['plugin']) && !in_array($action, $this->laoded_plugins)) { // check plugin is enabled $result = false; }