remove unneeded if condition

This commit is contained in:
Björn Schießle 2013-06-27 16:28:45 +02:00
parent 996b1e80c6
commit 68369ebb86
1 changed files with 1 additions and 5 deletions

View 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;
}