diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-06-27 18:28:45 +0400 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-06-27 18:28:45 +0400 |
commit | f8374faa08f47c5c6387acff8e3a79c664901877 (patch) | |
tree | 29977b5ffe6dab584a6e3a0b8a9e377896a3a4d7 /lib/defaults.php | |
parent | 31d565131ce426678b77510fb9117b121a5822e7 (diff) |
remove unneeded if condition
Diffstat (limited to 'lib/defaults.php')
-rw-r--r-- | lib/defaults.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/defaults.php b/lib/defaults.php index ba2b2b93ee2..44c1a7e150b 100644 --- a/lib/defaults.php +++ b/lib/defaults.php @@ -19,13 +19,9 @@ class OC_Defaults { private static $defaultSlogan = "web services under your control"; private function themeExist($method) { - if (OC_Util::getTheme() !== '' && - //class_exists('OC_Theme') && - method_exists('OC_Theme', $method)) { - + if (OC_Util::getTheme() !== '' && method_exists('OC_Theme', $method)) { return true; } - return false; } |