From f8374faa08f47c5c6387acff8e3a79c664901877 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Thu, 27 Jun 2013 16:28:45 +0200 Subject: [PATCH] remove unneeded if condition --- lib/defaults.php | 6 +----- 1 file changed, 1 insertion(+), 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; } -- 2.39.5