summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-10-29 11:15:01 +0100
committerAleksander Machniak <alec@alec.pl>2014-10-29 11:15:01 +0100
commite97951108304bd06d70734c42714fd4a8ad5311d (patch)
tree00ae63134604abb8e27cae53c76d19144c71814d
parent0b96b1cd81d244af74ed8229fae1d64ebc6a205d (diff)
Remove redundant is_file() checks
-rw-r--r--plugins/managesieve/managesieve.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php
index 7a307e1fe..f41394e31 100644
--- a/plugins/managesieve/managesieve.php
+++ b/plugins/managesieve/managesieve.php
@@ -85,14 +85,10 @@ class managesieve extends rcube_plugin
// include styles
$skin_path = $this->local_skin_path();
if ($this->rc->task == 'settings' || $sieve_action) {
- if (is_file($this->home . "/$skin_path/managesieve.css")) {
- $this->include_stylesheet("$skin_path/managesieve.css");
- }
+ $this->include_stylesheet("$skin_path/managesieve.css");
}
else {
- if (is_file($this->home . "/$skin_path/managesieve_mail.css")) {
- $this->include_stylesheet("$skin_path/managesieve_mail.css");
- }
+ $this->include_stylesheet("$skin_path/managesieve_mail.css");
}
$this->ui_initialized = true;