]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unneeded if condition
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 27 Jun 2013 14:28:45 +0000 (16:28 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Mon, 1 Jul 2013 08:46:49 +0000 (10:46 +0200)
lib/defaults.php

index ba2b2b93ee2d37305dfc7870d13776ce2c930522..44c1a7e150b2eb9febf0f3ced67314a6d6ae1b50 100644 (file)
@@ -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;
        }