Remove redundant argument of include_stylesheet()

This commit is contained in:
Aleksander Machniak 2018-01-25 13:23:26 +01:00
parent 0fe1f4928d
commit cc15a0c0db
5 changed files with 5 additions and 5 deletions

View file

@ -404,7 +404,7 @@ class kolab_2fa extends rcube_plugin
$this->register_handler('plugin.highsecuritydialog', array($this, 'settings_highsecuritydialog')); $this->register_handler('plugin.highsecuritydialog', array($this, 'settings_highsecuritydialog'));
$this->include_script('kolab2fa.js'); $this->include_script('kolab2fa.js');
$this->include_stylesheet($this->local_skin_path() . '/kolab2fa.css', true); $this->include_stylesheet($this->local_skin_path() . '/kolab2fa.css');
if ($this->check_secure_mode()) { if ($this->check_secure_mode()) {
$this->api->output->set_env('session_secured', $_SESSION['kolab_2fa_secure_mode']); $this->api->output->set_env('session_secured', $_SESSION['kolab_2fa_secure_mode']);

View file

@ -39,7 +39,7 @@ class kolab_activesync_ui
$skin_path = $this->plugin->local_skin_path() . '/'; $skin_path = $this->plugin->local_skin_path() . '/';
$this->skin_path = 'plugins/kolab_activesync/' . $skin_path; $this->skin_path = 'plugins/kolab_activesync/' . $skin_path;
$this->plugin->include_stylesheet($skin_path . 'config.css', true); $this->plugin->include_stylesheet($skin_path . 'config.css');
} }
public function device_list($attrib = array()) public function device_list($attrib = array())

View file

@ -52,7 +52,7 @@ class kolab_addressbook_ui
if (empty($this->rc->action)) { if (empty($this->rc->action)) {
// Include stylesheet (for directorylist) // Include stylesheet (for directorylist)
$this->plugin->include_stylesheet($this->plugin->local_skin_path().'/kolab_addressbook.css', true); $this->plugin->include_stylesheet($this->plugin->local_skin_path().'/kolab_addressbook.css');
// include kolab folderlist widget if available // include kolab folderlist widget if available
if (in_array('libkolab', $this->plugin->api->loaded_plugins())) { if (in_array('libkolab', $this->plugin->api->loaded_plugins())) {

View file

@ -78,7 +78,7 @@ class kolab_delegation extends rcube_plugin
} }
$this->skin_path = $this->local_skin_path(); $this->skin_path = $this->local_skin_path();
$this->include_stylesheet($this->skin_path . '/style.css', true); $this->include_stylesheet($this->skin_path . '/style.css');
} }
} }
// Calendar/Tasklist plugin UI bindings // Calendar/Tasklist plugin UI bindings

View file

@ -58,7 +58,7 @@ class libkolab extends rcube_plugin
$this->add_texts('localization/', false); $this->add_texts('localization/', false);
if ($rcmail->output->type == 'html') { if ($rcmail->output->type == 'html') {
$this->include_stylesheet($this->local_skin_path() . '/libkolab.css', true); $this->include_stylesheet($this->local_skin_path() . '/libkolab.css');
} }
// embed scripts and templates for email message audit trail // embed scripts and templates for email message audit trail