mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Don't check for OCA\AppFramework
This commit is contained in:
parent
cfd8cd02b3
commit
18bb84d306
@ -20,7 +20,7 @@ use \OC\AppFramework\Core\API;
|
|||||||
\Sabre\VObject\Property::$classMap['GEO'] = '\OC\VObject\CompoundProperty';
|
\Sabre\VObject\Property::$classMap['GEO'] = '\OC\VObject\CompoundProperty';
|
||||||
|
|
||||||
// dont break owncloud when the appframework is not enabled
|
// dont break owncloud when the appframework is not enabled
|
||||||
if(\OCP\App::isEnabled('appframework')) {
|
//if(\OCP\App::isEnabled('appframework')) {
|
||||||
$api = new API('contacts');
|
$api = new API('contacts');
|
||||||
|
|
||||||
$api->addNavigationEntry(array(
|
$api->addNavigationEntry(array(
|
||||||
@ -57,6 +57,6 @@ if(\OCP\App::isEnabled('appframework')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
//} else {
|
||||||
\OCP\Util::writeLog('contacts', 'AppFramework is not enabled. App is not functional!', \OCP\Util::ERROR);
|
// \OCP\Util::writeLog('contacts', 'AppFramework is not enabled. App is not functional!', \OCP\Util::ERROR);
|
||||||
}
|
//}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user