diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-06-27 16:28:45 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-07-01 10:46:49 +0200 |
commit | 68369ebb8654476ddead70e621b5f68079d6e29c (patch) | |
tree | aabbf1ae3432d9c14952604b6af4f40688176920 /lib | |
parent | 996b1e80c650f57daaeb319a67857dfd4c730a6a (diff) | |
download | nextcloud-server-68369ebb8654476ddead70e621b5f68079d6e29c.tar.gz nextcloud-server-68369ebb8654476ddead70e621b5f68079d6e29c.zip |
remove unneeded if condition
Diffstat (limited to 'lib')
-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; } |